hi all,
I have a table with column aa,bb,cc,dd i need to select the a value from these columns after checking the conditions below,
1.if dd is not null then dd
2.if dd is null and cc is not null then cc
3.if dd and cc is null and bb is not null then bb.
i'm not sure how to write a Query for this since. Help me to get this resolved.