Unknown column 'Distributor' in 'where clause'