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
Dominic
.
Toggle Highlighting
SQL
SELECT COUNT(P.page_title) AS Files, CONCAT('https://dp.la/item/', REGEXP_REPLACE(REGEXP_REPLACE(P.page_title, '^.*DPLA_-_', ''), '[\.|_].*$', '')) AS DPLA_id FROM commonswiki_p.page P JOIN commonswiki_p.categorylinks CL ON P.page_id = CL.cl_from WHERE CL.cl_to = "Media_contributed_by_the_Digital_Public_Library_of_America_with_unknown_institution" GROUP BY DPLA_id ORDER BY Files 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...