Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Stefan2
.
These should normally be tagged with {{db-f1}}.
Toggle Highlighting
SQL
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 #LEFT JOIN page_restrictions r ON r.pr_page = p.page_id #WHERE r.pr_page IS NULL WHERE a.img_sha1 != "e940304c25ab80df24ef80dcc4d290e91ea0f5e4" # phabricator:T244567 AND a.img_sha1 != "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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...