from my_table group column_a ( aggregate (max column_b) )
from my_table group column_a ( sort [-column_b] take 1 )
https://github.com/prql/prql/issues/695
(We need better tests against real DBs, which is very much on our roadmap)
[1]: https://github.com/prql/prql/pull/698