SELECT columnName, COUNT(*) as count
FROM selectedTable
GROUP BY columnName
HAVING COUNT(*) > 1;
You came from below query:
how to find duplicate rows in sql server 2008
how to find duplicate rows in sql and delete
how to find duplicate rows in oracle
how to delete duplicate rows in sql
sql server duplicate rows
count duplicate records sql
how to delete one record from duplicate records in sql
sql count distinct group by