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