Anheuser-Busch InBev interview question

Write a query to check for duplicate records in database.