Yes it works. Without GROUP BY the whole result is treated as one single group.
SELECT SUM(amount) FROM orders HAVING SUM(amount) > 1000;
returns one row if the total is above 1000, otherwise nothing.
Also helps to remember the logical order: FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY. That's also why you can't use a SELECT alias inside WHERE.