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
Novem Linguae
.
https://en.wikipedia.org/wiki/Wikipedia:Database_reports/Longest_active_user_editing_streaks https://github.com/mzmcbride/database-reports/blob/b264443b6f22e1e5df0922c5c5d75f2f1bf7fd5c/dbreps2/src/general/userstreaks.rs#L44
Toggle Highlighting
SQL
SELECT actor_name, COUNT(DISTINCT substring(rev_timestamp, 1, 8)) as days FROM revision_userindex JOIN actor_revision ON rev_actor = actor_id WHERE rev_timestamp < ? AND rev_timestamp >= ? GROUP BY actor_name HAVING COUNT(DISTINCT substring(rev_timestamp, 1, 8)) > 364 ORDER BY days DESC
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...