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, "P6243", concat('"',REPLACE(el_to_path,'/www.wikidata.org/wiki/%',''),'"') AS wikidata, count(el_to_path) as num FROM page JOIN categorylinks c1 ON page_id=c1.cl_from AND c1.cl_to='Artworks_with_SDC_link_missing' JOIN templatelinks ON page_id=tl_from AND tl_target_id = 242 JOIN externallinks ON page_id=el_from AND el_to_path LIKE '/www.wikidata.org/wiki/%' group by MID having num=1
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...