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