thể trùng lặp:
Find duplicate records in MySQLDanh sách MySQL Tất cả trùng lặp
Tôi có một bảng trong MySQL như thế này:
ID name email
1 john [email protected]
2 johnny [email protected]
3 jim [email protected]
4 Michael [email protected]
Làm thế nào tôi có thể có các truy vấn MySQL rằng sẽ liệt kê ra một bản sao như thế này?
Kết quả tìm kiếm trùng lặp:
ID name email Duplicate
1 john [email protected] 2
2 johnny [email protected] 2
Câu hỏi chính xác này đã được trả lời: http://stackoverflow.com/questions/854128/find-duplicate-records-in-mysql –