http://dev.mysql.com/doc /refman/5.0/en/problemen-met-alias.html
Probeer in plaats daarvan dit:
SELECT x + y AS z, t.* FROM t WHERE x = 1 HAVING z = 2;
http://dev.mysql.com/doc /refman/5.0/en/problemen-met-alias.html
Probeer in plaats daarvan dit:
SELECT x + y AS z, t.* FROM t WHERE x = 1 HAVING z = 2;