database
newsgroups
Home
All Groups
Group
Topic
Archive
Search
About
Addition in sql
microsoft.public.sqlserver.programming
11 Apr 2007 4:30 AM
Mike K
Hi, I am trying to write a query that will add sequentially. For
example,
Month Week Amount Amount2
1 1 200 200
1 2 150 350
1 3 400 750
How do I get the Amount2 colmn which is really a running total to work
in sql.
Thanks
Other interesting topics
Challenging Query - Please Help
Convert *= / =* to outer joins (ANSI compliant)
SQL Include Empty Months
create a sp from query output
Combine records to calculate
related:
Code news
Security news
Windows news
Server news
Exchange news
Developer programming