How to select distinct records in sql

visit shbcf.ru