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