Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Code examples for SQL 1x1 blog-article - 13
substr(Name,1,1) as [Index],
count(TrackId) AS Anzahl,
avg(Milliseconds)/600000 as MW
FROM Track
WHERE substr(Name,1,1) in ('A','E','I','O','U')
GROUP BY substr(Name,1,1)
HAVING count(TrackId) > 50
ORDER BY substr(Name,1,1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.