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
SD0001
.
Toggle Highlighting
SQL
SELECT page_title, pt_create_perm, page_restrictions.pr_level FROM page draft WHERE page_namespace = 118 AND ( EXISTS ( SELECT 1 FROM protected_titles title WHERE pt_namespace = 0 AND pt_create_perm = 'sysop' AND pt_title = draft.page_title ) OR EXISTS ( SELECT 1 FROM page main INNER JOIN page_restrictions ON (main.page_id = page_restrictions.pr_page) WHERE main.page_title = draft.page_title AND main.page_namespace = 0 AND main.page_is_redirect = 1 AND page_restrictions.pr_level = 'sysop' ) )
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...