Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
List of template with excessive fair use images (arwiki)
by
FShbib
This query is marked as a draft
This query has been published
by
جار الله
.
Toggle Highlighting
SQL
USE arwiki_p; SELECT pagetitle, cnt FROM ( SELECT concat('* [[قالب:', p.page_title, ']]') as pagetitle, count(*) AS cnt FROM page p INNER JOIN imagelinks i ON i.il_from = p.page_id AND i.il_from_namespace = 10 INNER JOIN page i_p ON i.il_to = i_p.page_title AND 1 <> p.page_is_redirect INNER JOIN categorylinks c2 ON i_p.page_id = c2.cl_from AND c2.cl_to = "جميع_الملفات_غير_الحرة" GROUP BY p.page_title having count(*) >= 1 ) c2 ORDER BY c2.cnt DESC, c2.pagetitle
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...