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
Jarekt
.
Toggle Highlighting
SQL
use commonswiki_p; SELECT editcount, year, count(user_name) FROM ( SELECT user_name, floor(log10(user_editcount)) as editcount, YEAR(rev_timestamp) as year FROM user JOIN revision ON user_id = rev_user JOIN page ON rev_page = page_id and page_namespace = 4 # pages in Commons namespace join templatelinks on page_id = tl_from and tl_namespace = 10 AND tl_title="Photo_challenge_rules" # pages transcluding [[template:Photo_challenge_rules]] group by user_name, YEAR(rev_timestamp) ) group by editcount, year order by editcount, 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...