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

Subtotaling a column

Status
Not open for further replies.

wheels27

MIS
Aug 26, 2002
30
US
how do i get Access to add all in a paticular field column, right now all it is dong is by row.
after i get that problem resolved what i need to do is to take that total and divid it by the number of row to get an average, what do i need to do.
 
Select FieldName, Sum(FieldName) as SumOfFieldName, Avg(FieldName) as AvgOfFieldName
FROM TblName

John
 
where do you place this information, does it go in the query window and where.

nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top