I am trying to find an average of an average with a mysql query.
I have 12 criteria and i can get an average for a column but i can not find the average of average,
Am trying to to work out a total rating of 12 criteria.
I think there are a few ways to go about this.
- is to divide the total score by the number votes, problem is each row has a possibility of 12 votes.
- get the avg totals, find our # of values set then divide the avg totals by # of values set
I need the number that i am dividing the total by to change depending on votes. 1 used can input 12 votes in 1 row 2 users could input a total of 18 votes in 2 rows, which means 1 user has not completed 6 votes The table has been shortened for testing purposes to columns that contain votes. I have posted this already, sorry for repost, but am starting to understand what help i roughly need