MySQL error: Unknown column 'frh' in 'where clause'