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

SQL

AخA
 
USE commonswiki_p;
SELECT CONCAT('File:', page_title ) as file
FROM image
JOIN page
ON page_namespace = 6
AND page_title = img_name
JOIN categorylinks
ON cl_from = page_id
AND cl_type = "file"
AND cl_to = "Items_with_ticket_OTRS_permission_confirmed"
GROUP BY img_name;
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...