MySQL Error: Unknown column 'RO' in 'where clause'