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

sql-tests.testcases.group-by.runHavingWithGrpExpr.sql Maven / Gradle / Ivy

-- database: presto; requires: com.facebook.presto.tests.ImmutableTpchTablesRequirements; tables: workers; groups: group-by;
SELECT COUNT(*) FROM workers GROUP BY salary * id_department HAVING salary * id_department IS NOT NULL




© 2015 - 2024 Weber Informatics LLC | Privacy Policy