CREATE TABLE genres (name VARCHAR, id VARCHAR)
CREATE TABLE tracks (genre_id VARCHAR)

List the top 5 genres by number of tracks. List genres name and total tracks.
SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5
SELECT "T1"."name", COUNT(*) FROM "genres" AS "T1" JOIN "tracks" AS "T2" ON "T1"."id" = "T2"."genre_id" GROUP BY "T1"."id" ORDER BY COUNT(*) DESC NULLS LAST LIMIT 5