postgresql/src/test/regress/sql/select_having.sql

8 lines
102 B
MySQL
Raw Normal View History

--
-- select_having.sql
--
SELECT d1, count(*) FROM DATETIME_TBL
GROUP BY d1 HAVING count(*) > 1;