CREATE TABLE tags (index DECIMAL, id DECIMAL, tag TEXT)
CREATE TABLE torrents (groupname TEXT, totalsnatched DECIMAL, artist TEXT, groupyear DECIMAL, releasetype TEXT, groupid DECIMAL, id DECIMAL)

Whose CDs sells best?
SELECT artist FROM torrents GROUP BY artist ORDER BY SUM(totalsnatched) DESC LIMIT 1
SELECT "artist" FROM "torrents" GROUP BY "artist" ORDER BY SUM("totalsnatched") DESC NULLS LAST LIMIT 1