Unknown column 'GOODWILL' in 'where clause'