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
Certes
.
Total deletions and deletions with G13 in the comment, grouped by year, for namespace 0. Counts may include articles, redirects and disambiguation pages.
Toggle Highlighting
SQL
SELECT SUBSTRING(log_timestamp,1,4) AS Year, COUNT(*) Total, SUM(comment_id IS NOT NULL) AS G13 FROM logging JOIN page ON page_id = log_page AND page_namespace=0 AND page_is_redirect=0 LEFT JOIN `comment` ON comment_id = log_comment_id AND comment_text REGEXP "\\bG13\\b" WHERE log_type='delete' AND log_action='delete' AND log_timestamp BETWEEN "20070927" AND "20070928" GROUP BY Year
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...