1054 - Unknown column 'alias' in 'where clause'