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 r.page_title, sum(if((p.pl_title like '%.oga') or (p.pl_title like '%.ogg') or (p.pl_title like '%.opus') or (p.pl_title like '%.OGG'), substring_index(substring_index(substring_index(q.img_metadata,'"length";',-1),";",1),":",-1), substring_index(substring_index(substring_index(q.img_metadata,'"playtime_seconds";',-1),";",1),":",-1) ))/3600 as total_length from metawiki_p.pagelinks p join commonswiki_p.image q on p.pl_title = q.img_name join metawiki_p.page r on p.pl_from = r.page_id where r.page_title like 'Wikiradio_(tool)/playlist/%' group by r.page_title order by total_length 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...