--disable_warnings drop database if exists bug25930; create database bug25930; --enable_warnings set sql_mode = 'ansi_quotes'; create table t1 ( "blah" int ); create table t2 select "blah" - 1 from t1; desc t2; --disable_warnings drop database bug25930; --enable_warnings