Como Verificar Registros Duplicados no SQL PostgreSQL

SELECT year, COUNT(id)
FROM YOUR_TABLE
GROUP BY year
HAVING COUNT(id) > 1
ORDER BY COUNT(id);
Good Job