Is your feature request related to a problem or challenge?
It'd be nice to be able to use DISTINCT ON expressions
Describe the solution you'd like
sql support for DISTINCT ON
Describe alternatives you've considered
No response
Additional context
https://www.geeksforgeeks.org/postgresql-distinct-on-expression/