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
Gopavasanth
.
Toggle Highlighting
SQL
SELECT actor_id, actor_name, DATE_FORMAT(rev_timestamp, '%Y-%m') AS month, COUNT(DISTINCT actor_id) AS distinct_user_count FROM revision JOIN actor ON rev_actor = actor_id WHERE rev_timestamp >= DATE_FORMAT(NOW() - INTERVAL 12 MONTH, '%Y%m%d%H%i%s') GROUP BY month, actor_id ORDER BY month ASC;
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...