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
Reguyla
.
Counts the number of Videos on Commons by Display resolution. These can then be used to populate [[Category:Videos by display resolution]]. Todo: add link to catlinks and eliminate those that already have a Video display resolution category present.
Toggle Highlighting
SQL
SELECT COUNT(*), img_width, img_height FROM commonswiki_p.image WHERE img_name LIKE "%.webm" OR img_name LIKE "%.ogg" OR img_name LIKE "%.ogv" AND img_width IS NOT NULL LEFT JOIN categorylinks ON cl_from = page_id WHERE cl_from NOT LIKE "Video display resolution%" GROUP BY img_width, img_height 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...