SQL
AخA
USE commonswiki_p;
SELECT group_concat(img_name, " "), actor_name
FROM categorylinks
JOIN page t
ON cl_to = "Files_reused_by_external_parties_out_of_compliance_with_licensing_terms"
AND cl_from = t.page_id
JOIN image
ON t.page_title = img_name
JOIN actor
ON img_actor = actor_id
JOIN page d
ON d.page_title = t.page_title
AND d.page_namespace = 6
JOIN pagelinks
ON pl_from = d.page_id
AND pl_title = actor_name
GROUP BY actor_id;
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.