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
DannyS712
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT page_id, page_title, page_namespace #pr_type, pr_level FROM page JOIN categorylinks ON page_id = cl_from #LEFT JOIN page_restrictions ON page_id = pr_page WHERE cl_to = 'Language_link_templates' AND EXISTS ( SELECT 1 FROM templatelinks WHERE tl_namespace = page_namespace AND tl_title = page_title ) AND NOT EXISTS ( SELECT 1 FROM page_restrictions WHERE pr_page = page_id ) AND page_namespace = 10 LIMIT 100;
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...