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