I have a query that sums categories. But I would like a sum of all those numbers as the last row.
SELECT sum(dead) AS ['dead'], incidents.category AS ['Category']
FROM incidents
GROUP BY incidents.category;
There has to be a way to get a total of all those sums that does not require a separate query.
Conservative. Idaho. Software engineer. Historian. Trying to prevent Idiocracy from becoming a documentary.
Email complaints/requests about copyright infringement to clayton @ claytoncramer.com. Reminder: the last copyright troll that bothered me went bankrupt.
Nope. You could ADD a field that sums each row cumulatively though.
ReplyDelete