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
Erell
.
Toggle Highlighting
SQL
SELECT img_name, #CASE WHEN REGEXP_SUBSTR(img_metadata,'("DateTimeOriginal":)')!="" #THEN SUBSTR(REGEXP_SUBSTR(img_metadata,'("DateTimeOriginal":(.*?[^[\\\\])")'), 21, 19) #WHEN REGEXP_SUBSTR(img_metadata,'(s:8:"DateTime";s:19:")')!="" #THEN SUBSTR(REGEXP_SUBSTR(img_metadata,'(s:8:"DateTime";s:19:"(.*?[^[\\\\])")'), 22, 19) #WHEN REGEXP_SUBSTR(img_metadata,'(s:16:"DateTimeOriginal";s:19:")')!="" #THEN SUBSTR(REGEXP_SUBSTR(img_metadata,'(s:16:"DateTimeOriginal";s:19:"(.*?[^[\\\\])")'), 31, 19) #WHEN REGEXP_SUBSTR(img_metadata,'("DateTimeDigitized":)')!="" #THEN SUBSTR(REGEXP_SUBSTR(img_metadata,'("DateTimeDigitized":(.*?[^[\\\\])")'), 22, 19) #ELSE "" #END as Zeit, REGEXP_SUBSTR('a:6:{s:10:"iimVersion";i:2;s:16:"ImageDescription";a:1:{i:0;s:368:"Zentralbild-FDGB 28.7.1951 Erholung im FDGB-Heim "Solidarität" in Heringsdorf. Im Ostseebad Heringsdorf sind im FDGB-Heim "Solidarität" über 100 Werktätige und Kulturschaffende aus befreundeten Ländern zu Gast. Im Juli-Turnus waren es Kollegen aus der Tschechoslowakei und Ungarn sowie mehrere Neger-Freunde aus Nigeria. UBz: Blick auf den Strand mit Seebrücke.";}s:8:"Headline";a:1:{i:0;s:49:"Heringsdorf, Erholung im FDGB-Heim "Solidarität"";}s:6:"Credit";a:1:{i:0;s:12:"Bundesarchiv";}s:10:"ObjectName";a:1:{i:0;s:19:"Bild 183-11543-0001";}s:22:"MEDIAWIKI_EXIF_VERSION";i:2;}','( [1-9]|[12][0-9]|3[01])[-/.]([1-9]|1[012])[-/.]((19|20|)\d{2} )') as Zeit #, #img_metadata FROM image WHERE img_metadata != "" #AND REGEXP_SUBSTR(img_metadata,'([1-9]|[12][0-9]|3[01])[-/.]([1-9]|1[012])[-/.]((19|20|)\d{2})') != "" 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...