SQL TrainerRUENET

Learn SQL on a real database

Run

Sign in

Use the same login and password as in TMS.

Explore your tables and relations

The schema shows which tables the database has and how keys link them together — handy when you build a JOIN.

N1N1N1ArtistArtistIdPKNameAlbumAlbumIdPKTitleArtistIdFKTrackTrackIdPKNameAlbumIdFKGenreIdFKMillisecondsGenreGenreIdPKName

Your answer checked in a second

Press Check — the platform runs your query and compares the result with the reference. If it is off, you get a hint where to look.

How many tracks are in the Rock genre?

Check