This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
use hewiki_p;
select distinct(il_to) from imagelinks
where il_from_namespace in (0, 100)
and exists
(select * from commonswiki_p.page
where il_to = page_title
and page_namespace = 6
and SUBSTRING_INDEX(page_title,'.',-1) in ('ogg', 'OGG', 'Ogg', 'ogv', 'OGV', 'webm', 'WebM', 'WEBM', 'Webm'));
select * from commonswiki_p.page
where page_namespace = 6
and page_title like "%.mp4"
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...