Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Find uncategorized images with phrase in title
by
Erell
This query is marked as a draft
This query has been published
by
Erell
.
Toggle Highlighting
SQL
#use commonswiki_p; set @cat1:="All_media_needing_categories_as_of_20%"; set @cat2:="Media_needing_category_review_as_of_%"; set @cat3:="Photos_from_Panoramio_needing_categories_as_of_%"; set @cat4:="Media_with_geo-coordinates_needing_categories"; set @cat5:="Media_needing_categories_as_of_%"; set @cat6:="Uncategorized%"; #describe geo_tags; select distinct concat("File:", page_title) as Dateiname from page left join categorylinks on page_id = cl_from left join image on page_title = img_name left join comment on img_description_id = comment_id where (cl_to like @cat1 or cl_to like @cat2 or cl_to like @cat3 or cl_to like @cat4 or cl_to like @cat5 or cl_to like @cat6) and ( comment_text like "%Heringsdorf%" or comment_text like "%Bansin%" or comment_text like "%Ahlbeck%" or comment_text like "%Zinnowitz%" or comment_text like "%Koserow%" or comment_text like "%Krummin%" or comment_text like "%Trassenmoor%" or comment_text like "%Usedom%" or comment_text like "%Thurbruch%" or comment_text like "%Korswandt%" or comment_text like "%Ulrichshorst%" or comment_text like "%Schmollensee%" or comment_text like "%Gummlin%" or comment_text like "%Dargen%" or comment_text like "%Kutzow%" /*) */ /* or comment_text like "%M%nchow%" or comment_text like "%Karnin%" or comment_text like "%Zecherin%" or comment_text like "%Karlshagen%" or comment_text like "%Kamminke%" or comment_text like "%Mellenthin%" or comment_text like "%Pudagla%" or comment_text like "%Zirchow%" or comment_text like "%Trassenheide%" or comment_text like "%Peenem%nde%" or comment_text like "%Casekow%" or comment_text like "%Damitzow%" or comment_text like "%Hoppenwalde%" or comment_text like "%Grünz%" or comment_text like "%Krackow%" or comment_text like "%Ramin%" or comment_text like "%Uecker%" or comment_text like "%Randow%" or comment_text like "%Mönkebude%" or comment_text like "%Leopoldshagen%" or comment_text like "%Torgelow%" or comment_text like "%Eggesin%" or comment_text like "%Peenestrom%" or comment_text like "%Krummin%" or comment_text like "%Wiek%" or comment_text like "%Wieck%" or comment_text like "%Lubmin%" or comment_text like "%Bodden%" or comment_text like "%Achterwasser%" or comment_text like "%Lieper%" or comment_text like "%Krienke%" or comment_text like "%Klein%Haff%" or comment_text like "%Stettin%Haff%" or comment_text like "%Gro%Haff%" or comment_text like "%Lassan%" or comment_text like "%Struck%" or comment_text like "%Wolgast%" ) */ /*and (page_title like "%Neu%branden%" or page_title like "%strelitz%") #and (page_title like "%Burgwall%" or page_title like "%Findling%" or page_title like "%Sch%lchenstein%") /* and (page_title like "%enhagen%" and not page_title like "%Copenhagen%") */ #and (page_title like "%eeadler%" or page_title like "%Schreiadler%" or page_title like "%storch%"); or comment_text like "%Swinemünde%" or comment_text like "%Kaseburg%" or comment_text like "%Misdro%" or comment_text like "%Wol*in%" or comment_text like "%Dievenow%" or comment_text like "%Stettin%" or comment_text like "%Stralsund%" or comment_text like "%Knieper%" or comment_text like "%Prohn%" or comment_text like "%Strelasund%" or comment_text like "%Stahlbrode%" or comment_text like "%Dänholm%" or comment_text like "%Hiddensee%" or (comment_text like "%Vitte%" and not comment_text like "%Vittel%") or comment_text like "%Dornbusch%" or comment_text like "%Gellen%" or comment_text like "%Bessin %" or comment_text like "%Rügen%" or comment_text like "%Jasmund%" or comment_text like "%Schaabe%" or comment_text like "%Wittow%" or comment_text like "%Prora%" or comment_text like "%Putbus%" or comment_text like "%Granitz%" or comment_text like "%Vilmn%" or comment_text like "%Sassnitz%" or comment_text like "%Saßnitz%" /* or comment_text like "%Binz%" */ or comment_text like "%Zudar%" or comment_text like "%evitz%" or comment_text like "%Demmin%" or comment_text like "%Loitz%" or comment_text like "%Jarmen%" or comment_text like "%Tutow%" or comment_text like "%Bent*z%" or comment_text like "%brünzow%" or comment_text like "%Völschow%" or comment_text like "%Darß%" or comment_text like "%Darss%" or comment_text like "%Zingst%" or comment_text like "%Prerow%" or comment_text like "%Damgarten%") #or page_title like "%Wolgast%" #or page_title like "%Greifswald%" order by 1;
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...