Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
WMUA-UA Photo Competition participants 2012-2019 not active in WLM-UA 2019
by
Antanana
This query is marked as a draft
This query has been published
by
VIGNERON
.
WLE-UA Photo Competition participants 2013-2017 not active in 2018
Toggle Highlighting
SQL
use commonswiki_p; SELECT CONCAT("# {{#target:User_talk:", actor_name, "|commons.wikimedia.org}}") as line FROM revision r_prev join categorylinks on rev_page = cl_from join actor on rev_actor = actor_id and actor_user is not null WHERE rev_parent_id = 0 and cl_to IN ( "Images_from_Wiki_Loves_Earth_2013_in_France", "Images_from_Wiki_Loves_Earth_2014_in_France", "Images_from_Wiki_Loves_Earth_2015_in_France", "Images_from_Wiki_Loves_Earth_2016_in_France", "Images_from_Wiki_Loves_Earth_2017_in_France", "Images_from_Wiki_Loves_Earth_2018_in_France", "Images_from_Wiki_Loves_Earth_2019_in_France", "Images_from_Wiki_Loves_Monuments_2012_in_France", "Images_from_Wiki_Loves_Monuments_2013_in_France", "Images_from_Wiki_Loves_Monuments_2014_in_France", "Images_from_Wiki_Loves_Monuments_2015_in_France", "Images_from_Wiki_Loves_Monuments_2016_in_France", "Images_from_Wiki_Loves_Monuments_2017_in_France", "Images_from_Wiki_Loves_Monuments_2018_in_France", "Images_from_Science_Photo_Competition_2016_in_France", "Images_from_Wiki_Science_Competition_2017_in_France" ) and not exists ( SELECT 1 FROM revision join categorylinks on rev_page = cl_from WHERE rev_parent_id = 0 AND rev_actor = r_prev.rev_actor and cl_to IN ("Images_from_Wiki_Loves_Monuments_2019_in_France") ) GROUP BY actor_name
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...