Created
August 16, 2019 08:16
-
-
Save databraineo/94ce2b873163b7e5aa454422b7f40a4a to your computer and use it in GitHub Desktop.
Code examples for SQL 1x1 blog-article - 09
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
SELECT | |
Name, | |
substr(Name,1,1) AS [Index], | |
CASE WHEN Milliseconds > 300000 THEN '> 5min.' END AS Länge1, | |
CASE WHEN Milliseconds > 300000 THEN '> 5min.' ELSE 'kurz' END AS Länge2 | |
FROM Track; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment