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
SQL DBCC CHECKDB finds errors that it cannot fix
AutoDial from Access without Getting the AutoDial Window
Using Template Files and SendObject in a Macro
Open Form then Hide It
Cisco VPN client issue
Menu accelerators not working
Excel Keep/Delete Records in Sheet1 that are in Sheet2
terminal services gateway server is temporarily unavailable
Terminal Services 2008
Convert from VMWare to Hyper-V