SQL
AخA
SELECT DISTINCT p.page_id #a.img_name
FROM image a
INNER JOIN image b ON a.img_sha1 = b.img_sha1 AND a.img_name != b.img_name
INNER JOIN page p ON p.page_title = a.img_name AND p.page_namespace = 6
WHERE a.img_sha1 NOT IN ("e940304c25ab80df24ef80dcc4d290e91ea0f5e4", # phabricator:T244567 (JPG)
"279315d507855c6a4351e1e2c2f39dd9cd2fccd8", # phabricator:T244567 (GIF)
"150cf4fc5b178d4cc2dea792a4dce852e8b57995") # image sandbox
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.