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
Isaac (WMF)
.
There are two types of img_metadata data formats: JSONs and PHP-serialized strings. This approach handles both. The metadata keys/values depend on the media type (ogg, mpeg, or webm). This approach handles all three. Data details: https://www.mediawiki.org/wiki/Manual:Image_table
Toggle Highlighting
SQL
SELECT img_name, img_metadata, JSON_EXTRACT(img_metadata, $.data.length) FROM image WHERE img_media_type = 'VIDEO' LIMIT 10
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...