mysql> select title, AVG(age) -> from employee_data -> GROUP BY title -> HAVING AVG(age) > 30;
Результат запроса приведен на рис. 5.18.