Group by having count 1. Оператор group by в sql. оператор having в sql. функции в having sql. sql having пример.