Add Finding duplicate records.sql
This commit is contained in:
parent
98399df660
commit
ffb75f0a73
|
@ -0,0 +1,5 @@
|
||||||
|
SELECT COL_TO_CHECK, COUNT(*)
|
||||||
|
FROM table1
|
||||||
|
GROUP BY COL_TO_CHECK
|
||||||
|
HAVING COUNT(*) > 1
|
||||||
|
ORDER BY COUNT(*)
|
Loading…
Reference in New Issue