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
Hidayatsrf
.
Example queries: https://wikitech.wikimedia.org/wiki/Help:MySQL_queries/Example_queries MediaWiki database layout: https://www.mediawiki.org/wiki/Manual:Database_layout
Toggle Highlighting
SQL
use mswiki_p; select img_name from image where img_name not like '%.jpg' collate utf8_general_ci and img_name not like '%.jpeg' collate utf8_general_ci and img_name not like '%.gif' collate utf8_general_ci and img_name not like '%.png' collate utf8_general_ci and img_name not like '%.pdf' collate utf8_general_ci and img_name not like '%.ogg' collate utf8_general_ci and img_name not like '%.mid' collate utf8_general_ci and img_name not like '%.svg' collate utf8_general_ci and img_name not like '%.ogv' collate utf8_general_ci and img_name not like '%.opus' collate utf8_general_ci and img_name not like '%.tiff' collate utf8_general_ci and img_name not like '%.tif' collate utf8_general_ci and img_name not like '%.webp' collate utf8_general_ci and img_name not like '%.webm' collate utf8_general_ci and img_name not like '%.mp3' collate utf8_general_ci and img_name not like '%.oga' collate utf8_general_ci and img_name not like '%.wav' collate utf8_general_ci and img_name not like '%.flac' collate utf8_general_ci and img_name not like '%.xcf' collate utf8_general_ci and img_name not like '%.bmp' collate utf8_general_ci 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...