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
Andriy.v
.
Number of deletion in the article namespace without considering the move deletions
Toggle Highlighting
SQL
SELECT DATE_FORMAT(log_timestamp, "%Y") AS year, COUNT(log_id) AS deletions FROM logging_userindex JOIN `comment` ON log_comment_id = comment_id WHERE log_type = 'delete' AND log_action = 'delete' AND log_namespace =0 AND log_timestamp > ( NOW() - INTERVAL 10 MONTH ) AND NOT comment_text RLIKE '(Usunięto, by zrobić miejsce dla|[Pp]rzekierowani)' 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...