sql-tests.testcases.group-by.runHavingWithAggExpr.sql Maven / Gradle / Ivy
-- database: presto; tables: workers; groups: group-by;
SELECT COUNT(*) FROM workers HAVING SUM(salary * 2)/COUNT(*) > 0
© 2015 - 2024 Weber Informatics LLC | Privacy Policy