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
Sfan00 IMG
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT wp.page_id, wp.page_title FROM image wi INNER JOIN commonswiki_p.image ci ON ci.img_name = wi.img_name AND ci.img_sha1 != wi.img_sha1 INNER JOIN page wp ON wp.page_title = wi.img_name AND wp.page_namespace = 6 INNER JOIN commonswiki_p.page cp ON cp.page_title = ci.img_name AND cp.page_namespace = 6 LEFT JOIN templatelinks wt ON wt.tl_from = wp.page_id AND wt.tl_namespace = 10 AND wt.tl_title IN ('ShadowsCommons', 'Now_Commons', 'Puf', 'Ffd', 'Deletable_file','Keep_local') # 'Deletable_file' = 'DI' templates LEFT JOIN commonswiki_p.templatelinks ct ON ct.tl_from = cp.page_id AND ct.tl_namespace = 10 AND ct.tl_title = 'Deletion_template_tag' WHERE wt.tl_from IS NULL AND ct.tl_from IS NULL LIMIT 60
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...