sql group by count

welcome to shbcf.ru