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(log_namespace = 0) Deletions, SUM(comment_id IS NOT NULL) AS G13 FROM logging 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_namespace % 2 = 0 /* Exclude Talk: namespaces */ GROUP BY Year ORDER 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...