You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand your request properly, then I don't think that would be valid SQL. I've run a couple of tests to confirm with HSQLDB. For example, this causes a syntax error in HSQLDB:
select*from AnimalData where id <10limit5union allselect*from AnimalData where id >20limit3
If I've misunderstood your request, please show an example of SQL that works and let me know what database you are using.
I can do the following:
However, I need to do an
orderBy
and alimit
on each queries individually. If I add a.orderBy().limit()
then I cannot do a.unionAll
How do I achieve this then?
The text was updated successfully, but these errors were encountered: