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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Totaling Sets of Data

Status
Not open for further replies.

29949653

Technical User
Sep 22, 2004
3
GB
I have a set of data that has a number of duplicate accounts in it. However, i need to total the duplicates up automatically. How can i do this and shouls it be done within the boundaries of a query or perhaps within a report?

Thanks
 
select accountnumber, sum(amount) From tblName Group by AccountNumber


doesn't work?

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top