Add Finding duplicate records.sql

This commit is contained in:
ben 2024-06-13 02:25:20 +00:00
parent 98399df660
commit ffb75f0a73
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
SELECT COL_TO_CHECK, COUNT(*)
FROM table1
GROUP BY COL_TO_CHECK
HAVING COUNT(*) > 1
ORDER BY COUNT(*)