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
Base
.
Toggle Highlighting
SQL
-- it is supposed to be counter of all participants from WLM MMXII - MMXV in Ukraine. -- Number should count unique users and not just sum up the nums for all 4 cats SELECT rev_user_text, count(distinct rev_page) as number_of_pages FROM commonswiki_p.revision WHERE rev_parent_id = 0 AND rev_page IN( SELECT cl_from FROM commonswiki_p.categorylinks WHERE cl_to IN ( "Images_from_Wiki_Loves_Monuments_2012_in_Ukraine", "Images_from_Wiki_Loves_Monuments_2013_in_Ukraine", "Images_from_Wiki_Loves_Monuments_2014_in_Ukraine", "Images_from_Wiki_Loves_Monuments_2015_in_Ukraine" ) ) GROUP BY rev_user_text -- ORDER BY rev_user_text 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...