Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum of Groups within Date Range 1

Status
Not open for further replies.

BiggerBrother

Technical User
Sep 9, 2003
702
0
0
GB
I have the standard orders table, with the amount of an order, the order id, the customer id, and the date. What I now need is the ability to group the order totals by quarter. So give customer id, I need to be able to display how much they spent between each quarter.

Is this possible without running the same sql for each quarter?

Many thanks

BB
 
Perfect. Thanks r937

Have a star for your efforts.

BB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top