Invalid query: Unknown column 'B.D._Foxmoor' in 'where clause'nWhole query: