I'm trying to join depending on whether table1.column1 is null or not null.
For, example I have two tables, table1 and table2, and the query:
SELECT A.column2 FROM table1 A , table2 B WHERE if A.column1 is not null then (A.column1=B.column1) else if A.column1 is null then (A.column3 = B.column1);
JOINsyntax instead of putting all the tables on theFROMclause, which is deprecated.