sql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Heights%') LIMIT 1' at line 1 SELECT COUNT(*) AS thits FROM redbpillar9.property WHERE (PropertyType = 'Residential' && CondoType='Not a Condo') AND City='Airdrie' AND (SubdivisionName LIKE 'King's Heights%')