I want to do something like this:
select id as myid from invoice where myid='1'
In other words, I want to use an alias for a column in the where clause. My example above doesn't work. Is there any sql trickery I can do to make something like this work? This is for Oracle.
select id as myid from invoice where myid='1'
In other words, I want to use an alias for a column in the where clause. My example above doesn't work. Is there any sql trickery I can do to make something like this work? This is for Oracle.