SQL où compter plus que
SELECT id, COUNT(id)
FROM User
GROUP BY id
HAVING COUNT(id) > 1
Watcher O_O
SELECT id, COUNT(id)
FROM User
GROUP BY id
HAVING COUNT(id) > 1
SELECT COUNT(1) AS NumberOfGreaterThan0
FROM YourTable
WHERE col1 >=0