Fork of
Orphaned non-free files (fr)
by Bloody-libu
This query is marked as a draft
This query has been published
by Geraki.
SQL
AخA
USE elwiki_p;
SELECT CONCAT('File:', p.page_title) FROM page p
INNER JOIN categorylinks c1 ON p.page_id = c1.cl_from
LEFT JOIN imagelinks i ON p.page_title = i.il_to AND (i.il_from_namespace = 0)
LEFT JOIN categorylinks c2 ON p.page_id = c2.cl_from
WHERE c1.cl_to = "Αρχεία εύλογης χρήσης"
AND i.il_from IS NULL
AND c2.cl_from IS NULL
AND p.page_namespace = 6
ORDER BY p.page_title ASC;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.