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
Bulgu
.
Toggle Highlighting
SQL
USE trwiki_p; SET @KAT=replace("Bozuk dosya bağlantıları içeren sayfalar"," ","_"); SELECT concat("tr.wikipedia.org/wiki/",p.page_title) as link, il.il_to as dosya, il2.il_to as dosya_en from page p JOIN categorylinks AS cats ON p.page_id = cats.cl_from join imagelinks il on il.il_from = p.page_id -- left join iwlinks on iwl_from = p.page_id -- left join enwiki_p.page as p2 on p2.page_title = iwl_title -- left join enwiki_p.imagelinks il2 on il.il_from = p2.page_id WHERE p.page_namespace = 0 and cats.cl_to = replace(@KAT," ","_") and not exists(dosya) -- and (iwl_prefix is null OR iwl_prefix ="en") limit 10;
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...