evergrean100
Technical User
I have three fields with around 100 records in my Access 2000 database where each field has a value and I need to get average.
Code:
tableid fieldOne fieldTwo fieldThree
1 2 3 1
2 2 1 2
3 1 2 1
--------------------------------------
Total 5 6 4
The average of the data above would be 5: (5 + 6 + 4)/3 = 5
Please advise the query because my attempt is not working:
select avg(tot(fieldOne) + tot(fieldTwo) + tot(fieldThree)) as myAvg
from tableOne;