HAVING search criteria are applied after grouping operations;
For example: query the user id with more than 15 post visits;
select t.user_id,u.name,sum(count_view) from t_topic t left join t_users u on t.user_id=u.id GROUP BY user_id HAVING SUM(count_view)<15