#1064 - 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 'use FROM dbco1.summary, dbco2.summary' at line 1
SQL Code (PHP)
SELECT sum(total) as use
FROM dbco1.summary, dbco2.summary
GROUP BY ก็ไม่ได้ครับ เหมือนเดิม Code (PHP)
SELECT sum(total) as use
FROM dbco1.summary, dbco2.summary
GROUP BY date
Code (PHP)
SELECT sum(total) as use
FROM dbco1.summary, dbco2.summary
GROUP BY dbco1.date