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 image img on il.il_to = img.img_name left join iwlinks iwl on iwl.iwl_from = p.page_id #left join enwiki_p.page as p2 on p2.page_title = iwl.iwl_title #left join enwiki_p.imagelinks il2 on il2.il_from = p2.page_id #left join enwiki_p.image img2 on img2.img_name = il2.il_to WHERE p.page_namespace = 0 and cats.cl_to = replace(@KAT," ","_") and img.img_user is NULL #and img2.img_user is null -- and (iwl_prefix is null OR iwl_prefix ="en") group by 2 limit 100;
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...