Answer the question
In order to leave comments, you need to log in
How to use a field alias in a query condition?
I have a query like
select id, email, (firstname || ' ' || lastname) as fullname
from user
How to use fullname alias in Where condition?
select id, email, (firstname || ' ' || lastname) as fullname
from user
where fullname like 'abc'
Swears there is no fullname field
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question