Topics Topics Help/Instructions Help Edit Profile Profile Member List Register Paatha Gnyapakaalu - Archives from Old DB  
Search New Posts 1 | 2 | 8 Hours Search New Posts 1 | 3 | 7 Days Search Search Tree View Tree View Latest tweets Live Tweets   Hide Images

Rate this post by selecting a number. 1 is the worst and 5 is the best.

    (Worst)    1    2    3    4    5     (Best)

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

Onlymovies
Censor Bewarse
Username: Onlymovies

Post Number: 36159
Registered: 01-2009
Posted From: 137.200.32.54

Rating: N/A
Votes: 0

Posted on Thursday, August 18, 2016 - 7:41 am:   

Table 1 lo A, B ane 2 columns vunnayi.

Table 2 lo A, C, D ane 3 columns vunnayi.

Table 3 lo D, E ane 2 columns vunnayi.


For a give A, I need to get B, E.

I should get E only when C ='x', if C is not 'x' or there is nor record for A in table 2, E should be blank.

ela rayaali query?

select B, E from 1,2,3 where A = 'Given vlaue' and C = 'x' and 1.A = 2.A(+) and 2.D = 3.D

ani rasaanu, when C != 'x' I am not getting no records back, but still I need (B, null) back.

konchem light veyyandi..
Devarakota.. paiga marumoola maamidi thota... adige dikku kooda ledu...

Topics | Last Hour | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration