📜  mysql 查找重复项 - SQL 代码示例

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

代码示例1
SELECT 
    col, 
    COUNT(col)
FROM
    table_name
GROUP BY col
HAVING COUNT(col) > 1;
Code language: SQL (Structured Query Language) (sql)