1
I am applying a query SQL
in the Oracle SQL Developer in multiple tables where a Column
a view is null in some places and then I will need to use values from another Column
and I don’t know how to use the query’s IF very well.
Can anyone help with some possible solutions?
E.g.
SELECT x.Column1 "Alias",
y.Column2 "Alias2",
FROM table x
INNER JOIN table y
ON (IF x.Column3 or x.Column4) = y.Column2
.
.
.
Are you using Oracle or Mysql? Described one and tagged another.
– Marcelo de Andrade
Opa thanks for the warning, I freaked out sorry
– Valter Salvador