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
Mahir256
.
Note that any files whose lengths could not be determined by Commons on upload are excluded from the overall lengths printed.
Toggle Highlighting
SQL
select p.pl_title, sum( if(p.pl_title like '%.mp3', substring_index( substring_index(q.img_metadata,'"playtime_seconds";d:',-1), ";s:",1 ), substring_index( substring_index(q.img_metadata,'"length";d:',-1), ";s:",1 ) ) as total_length from metawiki_p.pagelinks p join commonswiki_p.image q on p.pl_title = q.img_name where p.pl_from = 9917751;
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...