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
SELECT NOW(); USE trwiki_p; set @bas="tr.wikipedia.org/w/index.php?title=Özel:SayfayaBağlantılar&namespace="; set @ns = 10; SELECT concat("tr.wikipedia.org/wiki?curid=",page_id) as p,page_title,COUNT(*) , concat(@bas,@ns,"&target=Dosya%3A",REPLACE(page_title, '_', '+'),"") as linkns , concat(@bas,"0&invert=1&target=Dosya%3A",REPLACE(page_title, '_', '+'),"") as linkhep FROM imagelinks JOIN (SELECT page_id, page_title FROM page JOIN categorylinks ON cl_from = page_id WHERE cl_to IN ("Tüm_adil_kullanım_dosyaları", "Adil_kullanım_sembolleri") AND page_namespace = 6) AS pgtmp ON pgtmp.page_title = il_to WHERE il_from_namespace not in (0,3) and il_from_namespace IN (@ns) GROUP BY il_to HAVING COUNT(*) > 0 ORDER BY COUNT(*) desc; SELECT NOW();
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...