$query = "SELECT product_name, SUM(quantity) as s_Total FROM group by product_name orders s_Total desc";
Date :
2011-04-03 14:52:22
By :
extenser
No. 2
Guest
มันขึ้น eror แบบนี้อะครับ
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 'group by product_name orders s_Total desc' at line 1