Unknown column 'Pot' in 'where clause'