So i have a query like so in MySQL;
select Schedule.trackName, Ratings.rating, count(trackName)
from Ratings
inner Join Schedule on Ratings.trackNo = Schedule.trackNo
Where rating > 2
group by 1
having count(trackName) > 1;
If i wanted to take the average of the ratings output from this query, how would i implement that