Chinook schema

Tables

Explore the complete relational shape of the Chinook sample database. Every table has a schema reference, preview, relationships, and direct data downloads.

Relationship map

How the tables connect.

11 foreign keys
AlbumArtistIdArtistArtistId
TrackMediaTypeIdMediaTypeMediaTypeId
TrackGenreIdGenreGenreId
TrackAlbumIdAlbumAlbumId
PlaylistTrackTrackIdTrackTrackId
PlaylistTrackPlaylistIdPlaylistPlaylistId
CustomerSupportRepIdEmployeeEmployeeId
EmployeeReportsToEmployeeEmployeeId
InvoiceCustomerIdCustomerCustomerId
InvoiceLineTrackIdTrackTrackId
InvoiceLineInvoiceIdInvoiceInvoiceId