MySQL Query : SELECT END_DATE AS END_DATE,PRICE as PRICE,HBZJ as HBZJ,HBZF AS HBZF,I_PRICE as I_PRICE,I_HBZJ as I_HBZJ,I_HBZF AS I_HBZF FROM order by end_date desc LIMIT 1 MySQL 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 end_date desc LIMIT 1' at line 1 MySQL Errno : 1064 Message : 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 end_date desc LIMIT 1' at line 1 Need Help?