Database schema:

CREATE TABLE tags (
	"index" INTEGER -- example: ['0', '1'],
	id INTEGER -- example: ['0', '2'],
	tag TEXT -- example: ['funk', '1970s'],
	PRIMARY KEY ("index"), 
	CONSTRAINT fk_tags_torrents FOREIGN KEY(id) REFERENCES torrents (id)
)


CREATE TABLE torrents (
	"groupName" TEXT -- example: ['spiderap / a corona jam', 'superappin&#39;'],
	"totalSnatched" INTEGER -- example: ['239', '156'],
	artist TEXT -- example: ['grandmaster flash & the furious five', 'ron hunt & ronnie g & the sm crew'],
	"groupYear" INTEGER -- example: ['1979', '1980'],
	"releaseType" TEXT -- example: ['single', 'album'],
	"groupId" INTEGER -- example: ['720949', '728752'],
	id INTEGER -- example: ['0', '1'],
	PRIMARY KEY (id)
)

Question: What are the average download times for the a release tagged "1980s"?
Evidence: AVG(totalSnatched where tag = '1980s');

SQL:
SELECT CAST(SUM(T1.totalSnatched) AS REAL) / COUNT(T2.tag) FROM torrents AS T1 INNER JOIN tags AS T2 ON T1.id = T2.id WHERE T2.tag = '1980s'