CGI Interview Question

How to get unique records in SQL?