There was indeed a problem with "AS" in MySQL. It's hopefully solved now. I've checked that graphs work.
Can you confirm the level of support for “select columnX as “this is column x” ? I want to change the name of the columns so the graphs print nicer. It always works perfectly in the query editor, but when I insert the macro, it falls apart and either doesnt display the column at all, or with bad date.