Jump to content

SQL urgent help bhayya


Recommended Posts

Posted

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.

 

Posted
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??

Posted

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

Posted
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

Posted
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!

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...