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 * FROM Artist; |
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 | |
ArtistId, | |
Name | |
FROM Artist; |
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 | |
ArtistId, | |
Name AS Kuenstler | |
FROM Artist; |
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 | |
ArtistId, | |
Name | |
FROM Artist | |
WHERE substr(Name,1,1)='A'; |
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 | |
ArtistId, | |
Name | |
FROM Artist | |
WHERE Name LIKE 'A%'; |
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 | |
ArtistId, | |
Name | |
FROM Artist | |
WHERE Name LIKE 'A%' AND NOT Name LIKE '_c%'; |
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 * | |
FROM Track | |
ORDER BY Composer DESC, Name; |
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 DISTINCT | |
Composer | |
FROM Track | |
ORDER BY Composer; |
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; |
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 > 360000 THEN '> 6min.' | |
WHEN Milliseconds > 300000 THEN '5-6 min.' | |
WHEN Milliseconds > 240000 THEN '4-5 min.' | |
ELSE 'kurz' | |
END AS Länge | |
FROM Track; |
OlderNewer