Barclays interview question

Told me to write a SQL query for finding out duplicate entries in a table .