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
Ahmad252
.
Toggle Highlighting
SQL
USE fawiki_p; SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180101000000' AND '20180201000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180202000000' AND '20180301000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180302000000' AND '20180401000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180402000000' AND '20180501000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180502000000' AND '20180601000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180602000000' AND '20180701000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180702000000' AND '20180801000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180802000000' AND '20180901000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20180902000000' AND '20181001000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20181002000000' AND '20181101000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20181102000000' AND '20181201000000' AND log_namespace = 0 UNION SELECT COUNT(*) FROM logging WHERE log_type = 'delete' AND log_action = 'delete' AND log_timestamp BETWEEN '20181202000000' AND '20181230000000' AND log_namespace = 0;
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...