Thread
:
Group by error:Expected end of statement
View Single Post
#
2
(
permalink
)
01-28-10, 05:49 PM
wirehopper
-
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Move the quote to the end of the string.
SQL_query = "SELECT products, SUM(sales) AS Totalsales FROM Customer GROUP BY products";
wirehopper
View Public Profile
Find all posts by wirehopper