All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql-tests.testcases.union.unionOrderBy.sql Maven / Gradle / Ivy

There is a newer version: 464
Show newest version
-- database: presto; tables: nation; groups: union;
SELECT count(*)
FROM nation
UNION ALL
SELECT sum(n_nationkey)
FROM nation
GROUP BY n_regionkey
UNION ALL
SELECT n_regionkey
FROM nation
ORDER BY 1 DESC




© 2015 - 2024 Weber Informatics LLC | Privacy Policy