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
MS DOS looping
C# equation to Compress string
How to configure a WSUS in 2008 Active Directory Domain
How do I find whether a bittorrent (protocol), application is running on a computer
Script Error; line 2057; res://ieframe.dll.preview.<wbr />js
Unable to join a Win2008 server to a Windows 2008 Domain
Using rtrim in my query
Draw gradient on panel control
How can I change the colour of text in a report field to match a colour specified in the report?
-2147467259 [Microsoft][ODBC SQL Server Driver][DBNETLIB]Connectio<wbr />nWrite(Wra<wbr />pperWrite(<wbr />))