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
Katrintomanek
.
Toggle Highlighting
SQL
# select * from page where page_id < 99 limit 10 # select * from category limit 10 #select * from page limit 5; # Note: text is missing! #SHOW TABLES FROM enwiki_p; #select * from comment where comment_text LIKE "%NPOV%"; limit 10 #SELECT DISTINCT pp_propname FROM page_props; # select * from page_props where pp_propname='displaytitle' and pp_value is not NULL limit 1000 #select * from page_restrictions where pr_page=12; #limit 10 # select * from page_restrictions where pr_level='autoconfirmed' limit 10 select page.*, page_restrictions.*, page_props.pp_propname, page_props.pp_value from page join page_restrictions on page.page_id=page_restrictions.pr_page join page_props on page.page_id=page_props.pp_page where page_restrictions.pr_level='sysop' and page_restrictions.pr_type='edit' and (page_props.pp_propname='displaytitle' or page_props.pp_propname='wikibase_item') limit 100 #select DISTINCT pr_type from page_restrictions
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...