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
WITH MonthlyEdits AS ( SELECT actor_id, DATE_FORMAT(rev_timestamp, '%Y-%m') AS YearMonth, COUNT(*) AS Edits FROM revision JOIN actor ON rev_actor = actor_id WHERE rev_timestamp >= '2012-01-01' AND rev_timestamp < '2013-01-01' -- Covering from 2012 to 2023 inclusive GROUP BY actor_id, YearMonth HAVING Edits >= 5 ) SELECT actor_name AS Username, COUNT(*) AS TotalMonths FROM MonthlyEdits JOIN actor ON MonthlyEdits.actor_id = actor.actor_id GROUP BY actor_name HAVING TotalMonths = 12 * 12
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...