select count(city) as cnt, city, state from nbl_entities where city = 'lee's+summit' and state = 'Missouri' group by cityMySQL says 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+summit' and state = 'Missouri' group by city' at line 2