Filter by having the condition, however, having screened and where what difference does it?
https://www.runoob.com/sql/sql-having.html