kni*_*hor 57
举例说明其他人的描述:
SELECT
    Col1, -- All of the columns you want to dedupe on
    Col2, -- which is not neccesarily all of the columns
    Col3, -- in the table
    Col4,
    Col5,
    Col6,
    Col7,
    Col8,
    Col9,
    Col10
FROM
    MyTable
GROUP BY
    Col1,
    Col2,
    Col3,
    Col4,
    Col5,
    Col6,
    Col7,
    Col8,
    Col9,
    Col10
HAVING
    COUNT(*) > 1
试试这个
Select * From Table
Group By [List all fields in the Table here]
Having Count(*) > 1
| 归档时间: | 
 | 
| 查看次数: | 74032 次 | 
| 最近记录: |