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

SQL

AخA
 
use zhwiki_p;
SELECT page_title AS title, page_id AS id, COUNT(*) AS 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_type = 'edit'
      WHERE tl_namespace = 10
        AND pr_level = 'sysop'
      GROUP BY page_title
      HAVING COUNT(*) < 100000;
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...