Book Description
In this book, you will develop step by step tutorial object-oriented programming with Java GUI and SQLite database using NetBeans IDE to implement all tables in chinook database. In this project, we use SQLite sample database named chinook. The chinook sample database is a good database for practicing with SQL, especially SQLite. You can download the sample database on: https://viviansiahaan.blogspot.com/2023/03/book-object-oriented-programming.html. There are 11 tables in the chinook sample database: employee table stores employees data such as employee id, last name, first name, etc. It also has a field named ReportsTo to specify who reports to whom; customer table stores customers data; invoice & invoice_item tables: these two tables store invoice data. The invoices table stores invoice header data and the invoice_items table stores the invoice line items data; artist table stores artists data. It is a simple table that contains only the artist id and name; album table stores data about a list of tracks. Each album belongs to one artist. However, one artist may have multiple albums; media_type table stores media types such as MPEG audio and AAC audio files; genre table stores music types such as rock, jazz, metal, etc; track table stores the data of songs. Each track belongs to one album; playlist & playlist_track tables: playlists table store data about playlists. Each playlist contains a list of tracks. Each track may belong to multiple playlists. The relationship between the playlists table and tracks table is many-to-many; The playlist_track table is used to reflect this relationship.