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, #if((p.pl_title like '%.oga') or (p.pl_title like '%.ogg'), # substring_index(substring_index(q.img_metadata,'"length";d:',-1),";",1), #if(p.pl_title like '%.flac', # substring_index(substring_index(q.img_metadata,'"playtime_seconds";i:',-1),";",1), # substring_index(substring_index(q.img_metadata,'"playtime_seconds";d:',-1),";",1) #)) as total_length q.img_metadata from metawiki_p.pagelinks p join commonswiki_p.image q on p.pl_title = q.img_name where p.pl_from = 9953197;
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...