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
#USE enwiki_p; USE commonswiki_p; SELECT 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
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...