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
SELECT CONCAT("[[", page_title, "]]", il_from, il_to FROM ukwiki_p.imagelinks JOIN ukwiki_p.page ON ukwiki_p.page.page_id = il_from WHERE il_from_namespace = 0 AND il_to IN ( SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON commonswiki_p.categorylinks.cl_to IN ( "Images_from_Wiki_Loves_Earth_2016_in_Ukraine", "Images_from_Wiki_Loves_Earth_2015_in_Ukraine", "Images_from_Wiki_Loves_Earth_2014_in_Ukraine", "Images_from_Wiki_Loves_Earth_2013_in_Ukraine" ) AND commonswiki_p.categorylinks.cl_type = "file" AND commonswiki_p.categorylinks.cl_from = commonswiki_p.page.page_id ) AND page_title IN ( SELECT page_title FROM ukwiki_p.categorylinks JOIN ukwiki_p.page ON ukwiki_p.categorylinks.cl_to IN ( "Статті_Вікімарафону_2017", "Статті_Вікімарафону_2017_створені_ботами" ) AND ukwiki_p.page.page_id = ukwiki_p.categorylinks.cl_from )
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...