MusicBox Schema Instructions

You are in charge of implementing the schema found in database-schema.png. You will implement the database using SQL. After it, you will drop the database and implement it again using Sequelize.

Before you start, create a user called “musicbox_app” with a password and CREATEDB privileges.

    const { Album, Genre, Artist } = require('./models');

Using the Sequelize query syntax, prepare three functions that will return the values specified in these queries:

- Find the release date for all the albums by The Beatles.
- Find the artist for the album The Life of Pablo.
- Find all the albums along with their genres and artists.