sql-tests.testcases.group-by.runHavingOnEmptyResult.sql Maven / Gradle / Ivy
The newest version!
-- database: trino; tables: nation; groups: group-by;
SELECT COUNT(n_regionkey) FROM nation WHERE 1=2 HAVING SUM(n_regionkey) IS NULL