asafblasberg
Programmer
How would you implement this in an SQL Statement:
"The logic you could add to the Sql statement is to get the value from a different column in your table if the value you are fetching from the current column is NULL.
EXAMPLE:
Table1
Columns are: "A" and "B"
If the data in "A" is null, use the data in "B".
DATA:
A \ B
1 \ 2
***NULL \ 3
Result would output:
2, then 3 (since NULL is present in column "A"***
Thank you
Asaf
"The logic you could add to the Sql statement is to get the value from a different column in your table if the value you are fetching from the current column is NULL.
EXAMPLE:
Table1
Columns are: "A" and "B"
If the data in "A" is null, use the data in "B".
DATA:
A \ B
1 \ 2
***NULL \ 3
Result would output:
2, then 3 (since NULL is present in column "A"***
Thank you
Asaf