-
-
Save parzibyte/548896007a9915c489b27fe84c3c2928 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mostrar todos los registros, pero agregar una columna extra. Si la temperatura es mayor o igual a 17 grados centígrados, imprimir Calor. Si no, imprimir Frio. | |
SELECT date, temperature, humidity, IF(temperature >= 17, "Calor", "Frio") | |
FROM dht_log; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment