SQL Help   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse Talk � Archives � Cine Talk - Reviews, Gossips, Insider Info etc. � Archive through February 11, 2006 � SQL Help � Previous Next �

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 763
Registered: 08-2004
Posted From: 198.69.173.194
Posted on Wednesday, February 08, 2006 - 7:06 am:   Edit PostDelete PostView Post/Check IP

iyite OK.
cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15496
Registered: 07-2004
Posted From: 24.2.198.200
Posted on Tuesday, February 07, 2006 - 7:57 pm:   Edit PostDelete PostView Post/Check IP

nayakudu maama post soosi navvocchindhi pokiri maama....
G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 762
Registered: 08-2004
Posted From: 69.180.150.33
Posted on Tuesday, February 07, 2006 - 7:54 pm:   Edit PostDelete PostView Post/Check IP

Enti Gochi mama

cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15491
Registered: 07-2004
Posted From: 24.2.198.200
Posted on Tuesday, February 07, 2006 - 5:03 pm:   Edit PostDelete PostView Post/Check IP


G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 761
Registered: 08-2004
Posted From: 198.69.173.194
Posted on Tuesday, February 07, 2006 - 3:12 pm:   Edit PostDelete PostView Post/Check IP

>>>mama neevu table b ni top nunchi refer chesedi enti... from clause lo petti second SQL statement lo.. yemmatladuthunnavu mandu kotti vachhava lunch break lo>>>

kadu mama,

We have a module which generates, SQL statemanets like that. ( we do some psedu oo type calls to generate SQL.)

That module is generating such kind of statements.
it is worng. Took time to look in to Oracle reference manual.

Original generated statement oka pedda page size.
Normally i dont write plan SQL statements.
Now problem in some others module. Now i have to explan what I am doing in my psedo language code.





>>>mandu kotti vachhava lunch break lo

varni.
neellu tagadaki ki time ledura ante, mandu okata.

first show ki janalu leru ante, 100 days function ekkada anntlu vundi nee pani.
cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1049
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 2:35 pm:   Edit PostDelete PostView Post/Check IP

mama neevu table b ni top nunchi refer chesedi enti... from clause lo petti second SQL statement lo.. yemmatladuthunnavu mandu kotti vachhava lunch break lo
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 760
Registered: 08-2004
Posted From: 198.69.173.194
Posted on Tuesday, February 07, 2006 - 2:31 pm:   Edit PostDelete PostView Post/Check IP





cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 759
Registered: 08-2004
Posted From: 198.69.173.194
Posted on Tuesday, February 07, 2006 - 1:56 pm:   Edit PostDelete PostView Post/Check IP






cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 758
Registered: 08-2004
Posted From: 198.69.173.194
Posted on Tuesday, February 07, 2006 - 1:45 pm:   Edit PostDelete PostView Post/Check IP

SELECT a.code as Code, a.name as Name, count(b.Ncode)
FROM cdmaster a, nmmaster b
WHERE a.code = b.code
and a.status = 1
and b.status = 1
and b.Ncode <> 'a10'
and trunc(last_updated_date) <= trunc(sysdate-13)
group by a.code, a.name

UNION

SELECT a.code as Code, a.name as Name, count(b.Ncode)

FROM cdmaster a, nmmaster z
WHERE a.code = z.code
and a.status = 1
and b.status = 1 <=== I am refering table b from top stmt.
cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Pokiri
Kurra Bewarse
Username: Pokiri

Post Number: 757
Registered: 08-2004
Posted From: 198.69.173.194
Posted on Tuesday, February 07, 2006 - 1:36 pm:   Edit PostDelete PostView Post/Check IP

following union statement is valid?

SELECT name,age FROM football f

UNION

SELECT name,age FROM baseball b
where ( f.name=b.name)


(Union just joins the results from two queries or we can refer 1st query table's in second one too? vice versa.)
cinema bewarse.
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15481
Registered: 07-2004
Posted From: 162.136.192.1
Posted on Tuesday, February 07, 2006 - 11:45 am:   Edit PostDelete PostView Post/Check IP

naaku SPSS thelavadhu maama....kaavalante theareticalgaa statistics thelusu
G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1043
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 11:37 am:   Edit PostDelete PostView Post/Check IP

aa code chusi nenu ardham chesukovali.. work cheyyathi kadu
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1042
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 11:36 am:   Edit PostDelete PostView Post/Check IP

GOCHI mama

naku konchem SPSS help kavali.. aa client daggariki chala sarlu velthunna doubt doubt ani... bagotla.. hehehe

aggregate proc vundi kada mama

danilo break lo use chese columns malla calculated columns mathrame SPSS dataset lo store avuthaya.. migathavi store kava

fields
a
b
c
d
e
f

aggregate
break=a,b
/f=max(f)

anuko..

ippudo resultant set lo only a,b,f vuntaya leka cd kuda vuntaya
Top of pagePrevious messageNext messageBottom of page Link to this message

Donga_evaru
Desanike Pedda Bewarse
Username: Donga_evaru

Post Number: 10798
Registered: 08-2004
Posted From: 134.93.44.21
Posted on Tuesday, February 07, 2006 - 11:32 am:   Edit PostDelete PostView Post/Check IP

gosiga
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1038
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 11:22 am:   Edit PostDelete PostView Post/Check IP

edo mama ala guddeddu chelo padinattu.. hehehe
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15480
Registered: 07-2004
Posted From: 162.136.192.1
Posted on Tuesday, February 07, 2006 - 11:21 am:   Edit PostDelete PostView Post/Check IP

DEgaa...
G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...
Top of pagePrevious messageNext messageBottom of page Link to this message

Donga_evaru
Desanike Pedda Bewarse
Username: Donga_evaru

Post Number: 10797
Registered: 08-2004
Posted From: 134.93.44.21
Posted on Tuesday, February 07, 2006 - 11:18 am:   Edit PostDelete PostView Post/Check IP

nayakudu mama, iragadhisavu

gosiga..madhyalo table/colomns badhulu shakeelano, alphonsa no caling sesi vuntavu
Top of pagePrevious messageNext messageBottom of page Link to this message

Hemanth
Bewarse ke Bewarse!
Username: Hemanth

Post Number: 12672
Registered: 03-2004
Posted From: 57.68.10.185
Posted on Tuesday, February 07, 2006 - 11:15 am:   Edit PostDelete PostView Post/Check IP

weldone nayakudu mama.
Top of pagePrevious messageNext messageBottom of page Link to this message

Donga_evaru
Desanike Pedda Bewarse
Username: Donga_evaru

Post Number: 10796
Registered: 08-2004
Posted From: 134.93.44.21
Posted on Tuesday, February 07, 2006 - 11:14 am:   Edit PostDelete PostView Post/Check IP

gosiga yentha yethuki yedhigipoyavu
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15479
Registered: 07-2004
Posted From: 162.136.192.1
Posted on Tuesday, February 07, 2006 - 11:11 am:   Edit PostDelete PostView Post/Check IP

thanx maama....work ayyindhi...anthaku mundu nenu ilaa sesthey enduku work avvaledantaav..

select account from test a
where etc etc
and not exists (select 'X' from test b
where b.account = a.account
and b.assign_date > a.assign_date)
G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1033
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 11:04 am:   Edit PostDelete PostView Post/Check IP

mama what is the unique column in the table.. please use that column in the join condition
Top of pagePrevious messageNext messageBottom of page Link to this message

Hemanth
Bewarse ke Bewarse!
Username: Hemanth

Post Number: 12671
Registered: 03-2004
Posted From: 57.68.10.185
Posted on Tuesday, February 07, 2006 - 11:00 am:   Edit PostDelete PostView Post/Check IP

ammani, bhale rasesthunnaru ga assala.
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15478
Registered: 07-2004
Posted From: 162.136.192.1
Posted on Tuesday, February 07, 2006 - 10:59 am:   Edit PostDelete PostView Post/Check IP

thanx maama....try sesi soottaa undu
G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1032
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 10:57 am:   Edit PostDelete PostView Post/Check IP

select distinct *
from test a
where a.date = (select max(b.date) from test b
where a.account = b.account)
Top of pagePrevious messageNext messageBottom of page Link to this message

Nayakudu
Bewarse
Username: Nayakudu

Post Number: 1031
Registered: 05-2005
Posted From: 129.188.33.222
Posted on Tuesday, February 07, 2006 - 10:56 am:   Edit PostDelete PostView Post/Check IP

assuming your table name is test

select *
from test a
where a.date = (select max(b.date) from test b
where a.account = b.account)
Top of pagePrevious messageNext messageBottom of page Link to this message

Gochi
Bewarse ke Bewarse!
Username: Gochi

Post Number: 15477
Registered: 07-2004
Posted From: 162.136.192.1
Posted on Tuesday, February 07, 2006 - 10:46 am:   Edit PostDelete PostView Post/Check IP

maammas...naakoka chinna problem vacchindhi...

oka table undhi...

account --- strategy ---assign_date
1-----45---------Jan 13,2005
1-----33-------- Jan 11,2005
1-----25-------- Dec 11,2005
2-----11--------etc etc
2-----41-------etc etc

ippudu naaku account and its latest strategy kaavali... like for account 1,45
G to the O to the O to the C, C to the H to the H to the I ,GOCHI thats what u say...