Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
WLM MMXII-MMXV, WLE MMXIII-MMXVI in Ukraine participants
by
Base
This query is marked as a draft
This query has been published
by
Ilya
.
WLM 2012-2015 and WLE 2013-2016 in Ukraine participants minus WLM 2016 in Ukraine participants
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 distinct(rev_user_text) FROM commonswiki_p.revision r join commonswiki_p.categorylinks c on r.rev_page = c.cl_from WHERE rev_parent_id = 0 and c.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", "Images_from_Wiki_Loves_Earth_2013_in_Ukraine", "Images_from_Wiki_Loves_Earth_2014_in_Ukraine", "Images_from_Wiki_Loves_Earth_2015_in_Ukraine", "Images_from_Wiki_Loves_Earth_2016_in_Ukraine" ) and rev_user_text not in (select distinct(rev_user_text) FROM commonswiki_p.revision r join commonswiki_p.categorylinks c on r.rev_page = c.cl_from WHERE rev_parent_id = 0 and c.cl_to = "Images_from_Wiki_Loves_Monuments_2016_in_Ukraine") 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...