I’m suppose to get the AVG from the count results.
SELECT labelname AS Record_Labels, COUNT(title) AS Number_of_CDs_Released FROM CD
JOIN RecordLabel ON labelname = released_by
GROUP BY labelname;
I tried doing this: AVG(COUNT(title)), but it didn’t work. Can anyone help me out here?
You can use a nested query to do this: