SQL
AخA
USE enwiki_p;
SELECT p.page_title FROM page p
INNER JOIN categorylinks c ON c.cl_from = p.page_id
INNER JOIN oldimage o ON o.oi_name = p.page_title
WHERE p.page_namespace = 6
AND c.cl_to = 'All_non-free_media'
AND o.oi_deleted IS NULL
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.