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