CGI interview question

How to get unique records in SQL?