This query is marked as a draft This query has been published by MZMcBride.

SQL

AخA
 
SELECT
  tl_title,
  COUNT(*)
FROM page
JOIN templatelinks
ON page_title = tl_title
AND page_namespace = tl_namespace
LEFT JOIN page_restrictions
ON pr_page = page_id
AND pr_level = 'sysop'
AND pr_type = 'edit'
WHERE tl_namespace = 10
AND pr_page IS NULL
GROUP BY tl_title
HAVING COUNT(*) > 500
ORDER BY COUNT(*) DESC;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...