I've a query like this:
select coealesce(table 1.code1, table2.code1) as mycode
from...
where mycode = 'XXX'
But this query fails. Unknow column mycode in where clause.
why ??? "coalesce() as" doesn't work ?
Bob
select coealesce(table 1.code1, table2.code1) as mycode
from...
where mycode = 'XXX'
But this query fails. Unknow column mycode in where clause.
why ??? "coalesce() as" doesn't work ?
Bob
Comment