sql-tests.testcases.limit.withGroupByInSubq.sql Maven / Gradle / Ivy
-- database: presto; groups: limit; tables: partsupp
SELECT COUNT(*) FROM (
SELECT ps_suppkey, COUNT(*) FROM partsupp
GROUP BY ps_suppkey LIMIT 20) t1
© 2015 - 2024 Weber Informatics LLC | Privacy Policy