Hi,
I have a table with these values:
I want to write a select query that will select either column2 or column3 based on whether column 3 is not null and output something like this:
So, if column3 is not null, select that column as column2, otherwise select column2.
Is this even possible?
I have a table with these values:
Code:
========================================= column1 column2 column3 firstname 462 david lastname smith NULL =========================================
Code:
========================================= column1 column2 firstname dave lastname smith =========================================
Is this even possible?
Comment