1 - Having canot be used without the group by clause the execution pattern is
from , where group by , having, order by, limit.
HAving is used to apply condition on grups created.
2-Specfically talking about sql., We can use the aggregate function without group by but many other impleentation of rdbms does not allow this. 2 statment is talking about about Mysql so second is true by sql standards