I am trying to get the sum of all sale prices before a specified date, I have tried the following.
SELECT SUM (Sale_Price), Sale_Date FROM sales GROUP BY Sale_Price, Sale_Date WHERE Sale_Date < '2015-10-12'; However I keep getting "SQL command not properly ended". Any help would be greatly appreciated.