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' AND City='Airdrie' LIMIT 50' at line 1 SELECT Latitude AS lat,Longitude AS lng,MLSNumber,AddressDisplay,FORMAT(ListPrice,0) AS ListPrice,City,StateOrProvince,PostalCode FROM redbcalgary.rets_property_listing WHERE Community='King's Heights' AND City='Airdrie' LIMIT 50