### Database Schema:
CREATE TABLE tags (
	index	INTEGER	NULL	PRIMARY KEY,
	id	INTEGER	NULL,
	tag	TEXT	NULL,
	foreign key (id) references torrents (id)
);

CREATE TABLE torrents (
	groupName	TEXT	NULL,
	totalSnatched	INTEGER	NULL,
	artist	TEXT	NULL,
	groupYear	INTEGER	NULL,
	releaseType	TEXT	NULL,
	groupId	INTEGER	NULL,
	id	INTEGER	NULL	PRIMARY KEY
);

### User's Query:
Find the average number of downloads for Single-Tables released by '2Pac' between 2001 and 2013.

### Extra Knowledge:
2Pac is an artist; releaseType = 'single'; between 2001 and 2013 refers to groupYear between 2001 and 2013; average number of downloads = AVG(totalSnatched);
SELECT AVG(totalSnatched) FROM torrents WHERE artist LIKE '2Pac' AND releaseType LIKE 'Single' AND groupYear BETWEEN 2001 AND 2013