📜  获取重复记录的计数 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:06.279000             🧑  作者: Mango

代码示例3
SELECT 
    col, 
    COUNT(col)
FROM
    table_name
GROUP BY col
HAVING COUNT(col) > 1;