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
Nivas10798
.
Toggle Highlighting
SQL
SELECT rev_actor, YEAR(rev_timestamp) AS Year, COUNT(DISTINCT rev_id) AS editcount_by_revid, SUM(CASE WHEN rev_id <= 100 THEN 1 ELSE 0 END) AS editcount_by_revid_100, SUM(CASE WHEN rev_id BETWEEN 101 AND 300 THEN 1 ELSE 0 END) AS editcount_by_revid_300, SUM(CASE WHEN rev_id BETWEEN 301 AND 500 THEN 1 ELSE 0 END) AS editcount_by_revid_500, SUM(CASE WHEN rev_id >=501 THEN 1 ELSE 0 END) AS editcount_by_revid_501 FROM revision GROUP BY rev_actor, 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...