I have the following SQL query:
select c.id from (select id from customers) c
This query has no practical meaning - I greatly simplified it for this publication.
My question is: is it possible to have a subquery in a from clause using HQL. If not, can I possibly first query clients as a temporary table in sql and then use the result as the source of the next query?
thanks
source share