Fork of Page IDs of files in both Category:Self-published_work and Category:All_free_media by Novem Linguae
This query is marked as a draft This query has been published by Novem Linguae.

SQL

x
 
# 110,000 Self-published_work, 174,000 All_free_media
SELECT img_name, img_metadata
FROM categorylinks
JOIN image ON img_name = page_title
JOIN page ON page_id = cl_from
WHERE cl_to = "Self-published_work"
    AND cl_from IN (
      SELECT cl_from
      FROM categorylinks
      WHERE cl_to = "All_free_media"
    )
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...