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
Ameisenigel
.
Toggle Highlighting
SQL
use commonswiki_p; SELECT concat("M",page_id) AS MID, 'P921', REPLACE(el_to_path,'/test/?q=%','') AS QID #, CONCAT("File:",page_title) FROM page JOIN externallinks ON page_id=el_from AND el_to_path LIKE '/test/?q=%' JOIN categorylinks ON page_id=cl_from AND cl_to='Artworks_with_main_subject_missing_same_depicts' WHERE page_namespace = 6 order by QID desc
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...