Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the SQL code for the following diagram DB Final Project Deliverable #2 - Music Library Jean Femandes February 23, 2021 HAS Artist INT PK

Create the SQL code for the following diagram

image text in transcribed

DB Final Project Deliverable #2 - Music Library Jean Femandes February 23, 2021 HAS Artist INT PK Artist_ID First_name Last name Stage_name INT INT x Album PK Album_ID FK Artist ID Album_name Genre VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR Artist_album INT Artist ID Album_ID Album_songs INT h HAS Album ID INT Song.ID INT HAS Single PK Single ID Single_name FK Artist_ID LINT VARCHAR LINT Song PK Song_ID FK Album ID Song_name INT + INT VARCHAR Varchar Song genre One artist can have zero or many albums. Each album can have one or more artists Each album has one or more songs. Each song has only one album. Artists can also have stand alone singles (songs not present in any album) An artist can have zero or many singles, Singles can have one or more artists

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

How much is 1/2 % of $10?

Answered: 1 week ago