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"," ","_"); -- SET @DS = 3; -- maddedeki max dosya sayısı SELECT p.page_title, substrING(il.il_to,1,30) as dosya -- , count(il.il_to) as dosya_sayisi , concat("tr.wikipedia.org/wiki?curid=",p.page_id) as link , p.page_latest , concat("tr.wikipedia.org/wiki?section=0&action=edit&curid=",p.page_id) as link0 from imagelinks il join page p on p.page_id = il.il_from JOIN categorylinks AS cats ON p.page_id = cats.cl_from left join image img on img.img_name = il.il_to WHERE p.page_namespace = 0 and cats.cl_to = replace(@KAT," ","_") and img.img_user_text is NULL -- group by p.page_id having dosya_sayisi <= @DS -- order by p.page_latest, 1 asc limit 2000;
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...