Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Share of deleted images uploaded by non-autoconfirmed users per month (huwiki)
by
Tgr
This query is marked as a draft
This query has been published
by
Tgr
.
Toggle Highlighting
SQL
use huwiki_p; SELECT CONCAT(substr(kept.month, 1, 4), '-', substr(kept.month, 5, 2)) month, kept.count + deleted.count total, deleted.count / (kept.count + deleted.count) deleted_ratio FROM ( SELECT substr(img_timestamp, 1, 6) month, COUNT(*) count FROM image GROUP BY month ) kept JOIN ( SELECT substr(fa_timestamp, 1, 6) month, COUNT(*) count FROM filearchive GROUP BY month ) deleted ON kept.month = deleted.month ORDER BY month ;
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...