Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/5.sql Secret

Created December 29, 2020 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/3c49f7c5bebfa6a67d71543d90b3c0da to your computer and use it in GitHub Desktop.
Save parzibyte/3c49f7c5bebfa6a67d71543d90b3c0da to your computer and use it in GitHub Desktop.
# Usar select para mostrar solo la fecha (sin hora) del primer registro que exista
SELECT SUBSTR(date, 1, 10)
FROM dht_log
LIMIT 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment