Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Jmorgan (WMF)
.
Pages in Category:Harry_Potter_(film_series), along with the total revs to each page.
Toggle Highlighting
SQL
SELECT COUNT(rev_id) AS revs, tmp.page_title FROM revision r INNER JOIN (SELECT page_id, page_title FROM enwiki_p.page AS p INNER JOIN enwiki_p.categorylinks AS cl ON p.page_id = cl.cl_from WHERE cl.cl_to IN ('Harry_Potter_(film_series)') AND cl.cl_type = 'page' AND p.page_namespace = 0) tmp ON r.rev_page = tmp.page_id GROUP BY tmp.page_title ORDER BY revs DESC;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...