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 'ORDER BY IBGTimeAdded DESC LIMIT 3' at line 1 SELECT IBGTimeAdded,MLSNumber,City,AddressDisplay,PostalCode,StateOrProvince,CurrentPrice,PropertyType,PropertySubType,ListOfficeName,Community,BedsTotal,BathsTotal FROM redbcalgary.rets_property_listing WHERE ORDER BY IBGTimeAdded DESC LIMIT 3