Unknown column 'supplier' in 'where clause'