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
Agseth
.
Toggle Highlighting
SQL
SELECT distinct t1.log_type, t1.log_action, t1.log_timestamp, t1.log_title, t1.log_comment_id from logging t1 JOIN (SELECT log_title, MAX(log_timestamp) log_timestamp FROM logging WHERE log_type='protect' and log_namespace=0 GROUP BY log_title) t2 ON t1.log_title = t2.log_title AND t1.log_timestamp = t2.log_timestamp INNER JOIN page_restrictions on t1.log_page=pr_page
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...