CREATE TABLE song (artist_name VARCHAR)
CREATE TABLE artist (artist_name VARCHAR)

Find the names and number of works of the three artists who have produced the most songs.
SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) DESC LIMIT 3
SELECT "T1"."artist_name", COUNT(*) FROM "artist" AS "T1" JOIN "song" AS "T2" ON "T1"."artist_name" = "T2"."artist_name" GROUP BY "T2"."artist_name" ORDER BY COUNT(*) DESC NULLS LAST LIMIT 3