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
Bean49
.
Toggle Highlighting
SQL
select lt_namespace, lt_title, darab, pr_level from (select * from ( select tl_target_id, count('X') darab from templatelinks group by tl_target_id order by 2 desc LIMIT 200) as tl, linktarget, page where tl_target_id = lt_id and lt_namespace = page_namespace and lt_title = page_title) as p left join page_restrictions on (page_id = pr_page and pr_type = 'edit') order by darab 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...