C sql where. Group by having sql. оператор distinct в sql. having sql описание. where group by sql.