Is there an SQL equivalent of TOP from PQL?
# general
z
Is there an SQL equivalent of TOP from PQL?
m
Limit + order by
z
I thought it works different with multi-column group by
I'm looking for a way to limit group by groups without limiting the overall result set
m
You mean multiple aggregations? If so, with SQL, the ordering has to be explicit.
Also, PQL's way of ordering is more like running multiple separate aggregation queries in one (if you were to do that in SQL).