Replies: 1 comment 1 reply
-
Could you share the example about the goal, i.e. what's the sql looks like ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, everyone:
I have a large dataset, which has three columns to be used: two cloumn as key and the 3rd column that shows the action time. And these column has one-2-many relation.
I want to pick the key(two columns), and anyone of the 3rd column value. PG can use 'distinct on', it's not standard, but convenient. Does Trino support this? Or other way to resolve this task(because the dataset is huge, and one key have too many rows).
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions