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(img_name) AS "File count", COUNT(DISTINCT REGEXP_REPLACE(REGEXP_REPLACE(img_name, '^.*DPLA_-_', ''), '[\.|_].*$', '')) AS "Item count", ROUND(SUM(img_size/(1<<30))) AS "Size (GB)" FROM image JOIN actor_image ON actor_id = img_actor WHERE actor_name = "DPLA bot"
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...