SQL distinct on multiple columns

join shbcf.ru