Query failed : SELECT id FROM `accommodation` WHERE `approved` = 1 AND (`town` LIKE '%Stratford%upon%Avon' OR `village` LIKE '%Stratford%upon%Avon' ) AND `breaks`=1 Unknown column 'breaks' in 'where clause'