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
AEzell (WMF)
.
Toggle Highlighting
SQL
USE itwiki_p; SET STATEMENT max_statement_time = 60 FOR SELECT count(distinct(pr.pr_id)), SUBSTR(pr.pr_expiry,1,8) as expiry FROM recentchanges rc LEFT JOIN page_restrictions pr ON rc.rc_cur_id = pr.pr_page WHERE rc.rc_log_type = 'protect' AND rc.rc_log_action = 'protect' AND rc.rc_namespace = 0 AND rc.rc_timestamp > 20181009000000 AND rc.rc_timestamp < 20181017000000 GROUP BY expiry
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...