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
.
Toggle Highlighting
SQL
select 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 where p.pl_from = 9938675;
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...