5 lines
101 B
MySQL
5 lines
101 B
MySQL
|
SELECT COL_TO_CHECK, COUNT(*)
|
||
|
FROM table1
|
||
|
GROUP BY COL_TO_CHECK
|
||
|
HAVING COUNT(*) > 1
|
||
|
ORDER BY COUNT(*)
|