Questions tagged [presto]

For code that uses the Presto distributed SQL query engine, including the community version (called Trino). Usually the [sql] tag will be required as well.

Filter by
Sorted by
Tagged with
1 vote
1 answer

calculating the percentage of distribution of ids per Loc for each country

Which of the two queries is theoretically better and why? I would like to understand why query 2 takes longer although there is no relevant information in the Execution Plan. I'm querying a Presto ...