For this project, we will model and create a database. We are starting a record
label company, and we a place to store our bands, albums, and eventually songs.
You are creating a console app that stores our information in a database.
Objectives
Practice creating an Entity Relationship Diagram
Practice working with SQL
Requirements
Create the ERD (Entity Relationship Diagram) and resulting tables that allows a
user to store and manage the company's bands, albums, and (eventually) songs.
How to turn in this assignment.
If you draw your ERD on paper, attach a photo. If you draw your ERD in a software tool, attach a screenshot of the image.
Paste all the SQL you wrote to create tables, insert rows, and try out SELECT/JOIN statements as a comment to this assignment.
Explorer Mode
[ ] Create an ERD for Albums, and Bands. They should have the following properties, use your best judgment for types.
[ ] Album
Id
Title
IsExplicit
ReleaseDate
[ ] Band
Id
Name
CountryOfOrigin
NumberOfMembers
Website
Style
IsSigned
ContactName
ContactPhoneNumber
Add ERD relationships that show:
[ ] One Band has many Albums
Create SQL statements that:
[ ] Add a new band
[ ] View all the bands
[ ] Add an album for a band
[ ] Let a band go (update isSigned to false)
[ ] Resign a band (update isSigned to true)
[ ] Given a band name, view all their albums
[ ] View all albums ordered by ReleaseDate
[ ] View all bands that are signed
[ ] View all bands that are not signed
ALTERNATIVES
If you do not wish to take on Band + Album you may go back to any of these assignments with an equivalent effort:
First Bank of Suncoast - Generate an ERD that supports multiple Users. Users have "Name", "Address", "Phone Number" - There will also be Transactions, each transaction will have a type (Deposit or Withdraw) and an account Checking or Savings. Generate the ERD and demonstrate SQL to create the tables, insert users, make transactions for users.
Jurassic Park - Generate an ERD that supports the existing Dino as well as an entity for Enclosures. The Enclosure should keep track of its Name, Capacity (number of Dinos), Location in the park. The Dinos should be able to be assigned to an enclosure. Generate the ERD and demonstrate SQL to create the tables, insert enclosures, insert Dinos, transfer dinos from one enclosure to another.
Rhythm's gonna get you - ERD
For this project, we will model and create a database. We are starting a record label company, and we a place to store our bands, albums, and eventually songs. You are creating a console app that stores our information in a database.
Objectives
Requirements
Create the ERD (Entity Relationship Diagram) and resulting tables that allows a user to store and manage the company's bands, albums, and (eventually) songs.
How to turn in this assignment.
Explorer Mode
[ ] Create an ERD for
Albums
, andBands
. They should have the following properties, use your best judgment for types.[ ] Album
Id
Title
IsExplicit
ReleaseDate
[ ] Band
Id
Name
CountryOfOrigin
NumberOfMembers
Website
Style
IsSigned
ContactName
ContactPhoneNumber
Add ERD relationships that show:
[ ] One Band has many Albums
Create SQL statements that:
[ ] Add a new band
[ ] View all the bands
[ ] Add an album for a band
[ ] Let a band go (update isSigned to false)
[ ] Resign a band (update isSigned to true)
[ ] Given a band name, view all their albums
[ ] View all albums ordered by ReleaseDate
[ ] View all bands that are signed
[ ] View all bands that are not signed
ALTERNATIVES