Microsoft
Software
Hardware
Network
Question : SQL Query to get row total?
I want to be able to do this is access
Table Name : Sales
Jan Feb March April Total (Row)
5 7 9 12
3 6 8 14
What will be the sql code to get row totals for the above data? So, I want values in the total column for each row.
For First row (5+7+9+12)
Please give me the sql and the method to do this in query designer. I have access 2007
Answer : SQL Query to get row total?
Exactly as sbc412 has shown.
In query designer, you would type like this -
Total: [Jan] + [Feb] + [March] + [April]
Random Solutions
Excel vba: post 21 - based on prev EE post - msoshape - parameters question
how to add two textboxes in access form to display in another textbox
SQL query to select distinct ID for latest date past June/01/2009 where there are (possibly) more than one occurrence of each ID
User that setup a rule via Outlook 2007 that is forwarding to a dead mailbox...
How do I fix system restore so that it functions correctly?
How do you combine 2 Outlook.NK2 into one?
replacement for Netscreen Remote VPN
setting up an internal NTP server
Workflow: Update List Item using multiple "find" criteria
Access 2K / 2003 bug?