Hi All,
The following sql snippet below is a subselect of a parent sql.
Is there a way to say, "If customer doesn't exist I want to run a different sql"?
select orderdate,
(select contactname from customers where customerID = 'ALFKI' or select 'No Customer') as contactname
from orders
I know this can be solved with a join but mainly interested of the possibility?
thanks, rod