HeyJobs Interview Question

How to find duplicates in a table using SQL