SELECT OfferScopeID, OfferTypeID, ValueX FROM Offers WHERE Active = 'Y' and CodeRequired = 'N' and StartDate <= '2019-11-17' and EndDate >= '2019-11-17' and AccountHoldersOnly = 'N' ORDER BY OfferScopeID, OfferTypeID, StartDate
Database query error 1054 : Unknown column 'AccountHoldersOnly' in 'where clause'
Additional info :