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
.
Toggle Highlighting
SQL
USE enwiki_p; #SELECT DISTINCT pw.page_id, pc.page_id FROM oldimage o SELECT DISTINCT o.oi_name, i.img_name FROM oldimage o INNER JOIN commonswiki_p.image i ON o.oi_sha1 = i.img_sha1 WHERE o.oi_name != '' AND i.img_name != '' #INNER JOIN page pw ON pw.page_title = o.oi_name #INNER JOIN commonswiki_p.page pc ON i.img_name = pc.page_title #WHERE pw.page_namespace = 6 #AND pc.page_namespace = 6
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...