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, img_metadata FROM image WHERE img_metadata != "" LIMIT 1000;
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...