Can't perform query on database Error: Unknown column 'RX' in 'where clause'