(f2) = 1;\n\n GROUPING() is evaluated earlier for the literal constant expression\n than for the HAVING clause as a whole and returns 0. To check whether\n a query such as this is affected, use EXPLAIN and look for Impossible\n having in the Extra column.\n\nURL: https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html\n\n','','https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html');