📅  最后修改于: 2022-03-11 15:05:21.581000             🧑  作者: Mango
代码示例3
SELECT
col1, COUNT(col1),
col2, COUNT(col2)
FROM
table_name
GROUP BY
col1,
col2
HAVING
(COUNT(col1) > 1) AND
(COUNT(col2) > 1);