HyderabadPoradu Posted April 11, 2017 Report Posted April 11, 2017 Bhayya, kocham urgent help needed.. Table a and table b join chesi table a nunchi oka value thechukovali.. if the value is null then it should join table c and get the value, if the value is null then leave it as as null. Quote
crazymata Posted April 11, 2017 Report Posted April 11, 2017 1 minute ago, HyderabadPoradu said: Bhayya, kocham urgent help needed.. Table a and table b join chesi table a nunchi oka value thechukovali.. if the value is null then it should join table c and get the value, if the value is null then leave it as as null. coalesce function vadaledha?? Quote
JollyBoy Posted April 11, 2017 Report Posted April 11, 2017 select isnull(a.oka_value,c.oka_value) from tab1 a inner join tab2 b on a.join_value = b.join_value inner join tab3 c on b.join_value = c.join_value Quote
JollyBoy Posted April 11, 2017 Report Posted April 11, 2017 enni dinal nundi job chestunav kaka 1 Quote
HyderabadPoradu Posted April 11, 2017 Author Report Posted April 11, 2017 54 minutes ago, JollyBoy said: enni dinal nundi job chestunav kaka kaka nenu mottam logic veyyaledhu..those two logics are dependent on many other dependencies..I did not frame it in correct way.. thanks for the inputs though Quote
HyderabadPoradu Posted April 11, 2017 Author Report Posted April 11, 2017 1 hour ago, crazymata said: coalesce function vadaledha?? vaadina bhayya,,still need to tweak a lot..the crazy thing is tht there r many dependent logics...i'll reframe it again.. thanks! Quote
crazymata Posted April 11, 2017 Report Posted April 11, 2017 1 hour ago, HyderabadPoradu said: vaadina bhayya,,still need to tweak a lot..the crazy thing is tht there r many dependent logics...i'll reframe it again.. thanks! ok Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.