This query is marked as a draft This query has been published by Stefan2.

SQL

AخA
 
USE enwiki_p;
SELECT p.page_title
FROM page p, categorylinks c, imagelinks i, redirect r
WHERE p.page_id = c.cl_from
AND p.namespace = 6
AND c.cl_to = "All_non-free_media"
AND r.rd_namespace = 6
AND r.rd_title = p.page_title
AND i.namespace = 6
AND i.il_to = p.page_title
HAVING COUNT(*) = 1
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.

Checking query status...