Find number of tracks in each genre?
select count(*), t1.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id group by t1.name;