Jump to content

Microsoft Access,SQL thelisina vallu unnara............Koncham urgent


Recommended Posts

Posted

2 days nunchi oka query tho chasthunnanu......plz evaraina unte cheppandiii.......

  • Replies 73
  • Created
  • Last Reply

Top Posters In This Topic

  • iamme

    16

  • manoghna

    13

  • vaasu

    11

  • ramu

    7

Top Posters In This Topic

Posted

[quote author=iamme link=topic=151095.msg1762703#msg1762703 date=1296763428]
2 days nunchi oka query tho chasthunnanu......plz evaraina unte cheppandiii.......
[/quote]

ekkada vei mama ni query evarokaru help chestaru

Posted

[quote author=Kakateyudu© link=topic=151095.msg1762761#msg1762761 date=1296764102]
ekkada vei mama ni query evarokaru help chestaru
[/quote]
%<>( %<>(

Posted

[quote author=vishwamithra link=topic=151095.msg1762769#msg1762769 date=1296764172]
%<>( %<>(
[/quote]  @gr33d @gr33d @gr33d sSc_hiding2 sSc_hiding2 sSc_hiding2

Posted

[quote author=CheGuevara link=topic=151095.msg1762733#msg1762733 date=1296763784]
enta query pm chesuko...teliste amina help chesta....
[/quote]


Check ur PM...doubts unte msg me back...

Posted

[quote author=iamme link=topic=151095.msg1762848#msg1762848 date=1296764879]

Check ur PM...doubts unte msg me back...
[/quote]send me too...  sHa_fr1ends sHa_fr1ends

Posted

IDI prblm....

Hello...
              I have 3 tables in data base aventante.......Details table lo student personal details anni untay....SHRD table lo student schooling info untundi.....SBGI table lo thana previous schooll info untundi....
Now the query is: How many studnets in the institution did their prev schooling from NY state only ani......
So wat i did was....aa 3 tables ni jlink chesanu with their primary and foreign keys...
Query result chala varaku bane vachindi kani.....konni pidms(Details table lo primary key) matram repeat avthunnay .....SHRD table lo primary key SBGI_ID .
Nenu formulate chesina query lo two foreign keys untay.....PIDMS from Details tbl and SBGI_ID frm SHRD.....
Prblm entante......naku ila vasthundi output
PIDM    SBGI_ID          AGE    School    School_STATE_CODE
1            23                    ------------------      CO
2            34                    -------------              NY
2            65                ---------------              NY

Same PIDM malli repeat avthundi coz dani SBGI code differnt kada.... but naku only distinct PIDMS matrame kavali...I dnt care abt SBGI_ID


Prblm 2) database lo ila store chesi undi

PIDM    SBGI_ID          AGE    School    School_STATE_CODE
1            23                    ------------------      CO
2            34                    -------------              NY
2            65                ---------------              MN

Oke PIDM 2 states lonu vasthunnadu.....Ive to formulate Queries for all OTher states n NY....So Ny lo aemo STATE_CODE=NY ani petta....
Alll other states query ki aemo STATE_CODE=<>NY ani pettanu...
So ippudu aa 2 pidm NY query lonu vasthunnadu n MN query lonu vasthunnadu....please help...nenu chala kotha ee field ki.....

Posted

[quote author=Rising star link=topic=151095.msg1762861#msg1762861 date=1296765002]
send me too...  sHa_fr1ends sHa_fr1ends
[/quote]

Check ur pm

Posted

vaka sari details,shrd,sbgi .....e tables lo vunna columns names ikada post cheyandi miku kudirithe.....

Posted

[quote author=manoghna link=topic=151095.msg1762912#msg1762912 date=1296765446]
vaka sari details,shrd,sbgi .....e tables lo vunna columns names ikada post cheyandi miku kudirithe.....
[/quote] you rock you rock you rock you rock

Posted

i couldn't understand your problem correctly but the first thing that stuck my mind is 2 tables same metadata naa kadaa
if so union all kotti then could you post the answer

if not full outer join chesi results post cheyyi then i can try for some answer

Posted

Try posting your question in stackoverflow.com and then post the link here. Chance of getting your question answered in stackoverflow > in afdb...

Posted

[quote author=iamme link=topic=151095.msg1762869#msg1762869 date=1296765063]
IDI prblm....

Hello...
              I have 3 tables in data base aventante.......Details table lo student personal details anni untay....SHRD table lo student schooling info untundi.....SBGI table lo thana previous schooll info untundi....
Now the query is: How many studnets in the institution did their prev schooling from NY state only ani......
So wat i did was....aa 3 tables ni jlink chesanu with their primary and foreign keys...
Query result chala varaku bane vachindi kani.....[b]konni pidms(Details table lo primary key) matram repeat avthunnay [/b] .....SHRD table lo primary key SBGI_ID .
Nenu formulate chesina query lo two foreign keys untay.....PIDMS from Details tbl and SBGI_ID frm SHRD.....
Prblm entante......naku ila vasthundi output
PIDM    SBGI_ID          AGE    School    School_STATE_CODE
1            23                    ------------------      CO
2            34                    -------------              NY
2            65                ---------------              NY

Same PIDM malli repeat avthundi coz dani SBGI code differnt kada.... but naku only distinct PIDMS matrame kavali...I dnt care abt SBGI_ID


Prblm 2) database lo ila store chesi undi

PIDM    SBGI_ID          AGE    School    School_STATE_CODE
1            23                    ------------------      CO
2            34                    -------------              NY
2            65                ---------------              MN

Oke PIDM 2 states lonu vasthunnadu.....Ive to formulate Queries for all OTher states n NY....So Ny lo aemo STATE_CODE=NY ani petta....
Alll other states query ki aemo STATE_CODE=<>NY ani pettanu...
So ippudu aa 2 pidm NY query lonu vasthunnadu n MN query lonu vasthunnadu....please help...nenu chala kotha ee field ki.....
[/quote]details table lo PIDM column containing a primary key...it should maintain uniqness mari a column lo values repeat avthunnai annaru enti naku ardham kaledhu..a table lo values miru sample ga insert chesukunava leka already database lo vunaya?

×
×
  • Create New...