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
Anomie
.
Enwiki edits by edit count
Toggle Highlighting
SQL
SELECT CASE WHEN user_editcount IS NULL THEN 'IP' WHEN user_editcount <= 10 THEN '0–10' WHEN user_editcount <= 100 THEN '11–100' WHEN user_editcount <= 1000 THEN '101–1000' WHEN user_editcount <= 10000 THEN '1001–10000' WHEN user_editcount <= 100000 THEN '10001–100000' WHEN user_editcount <= 1000000 THEN '100001–1000000' ELSE '>1000000' END as bucket, COUNT(DISTINCT actor_id) AS editors, COUNT(*) AS edits, COUNT(*) / COUNT(DISTINCT actor_id) AS edits_per_editor FROM revision JOIN actor_revision ON rev_actor = actor_id LEFT JOIN user ON actor_user = user_id WHERE rev_timestamp LIKE '20240914%' GROUP BY bucket ORDER BY MAX(COALESCE(user_editcount,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...