Hi,
I have to join data from 2 tables, say A and B, so that data from A takes priority over B. e.g. A has data
CD NAME
1 a
2 b
and B has
CD NAME
2 bb
3 cc
The result should be:
1 a
2 b
3 cc
I am doing it as follows:
SELECT DECODE(A.CD,NULL,B.CD,A.CD) CD...