Ie 330 HW 4
Ie 330 HW 4
Each musician who records at the studio has a social security number (ssn) and a name. It
is safe to assume that no two musicians have the same ssn. We know that it takes
musicians to form bands and that a band is described by a unique name (at this record
label).
Bands record albums, which have a title and a year of production. But, we maintain
records of our musicians before an album is recorded. Each album is recorded by only
one band and we do not consider featuring artists. No two albums have the same title and
the same production year. Each album is produced by exactly one musician (even if the
musician is a member of the recording band.)
Albums are made up of songs, described by their titles. You may assume that, if the
studio no longer wants to store information about an album, then it does not store the
songs belonging to that album. Naturally, each song belongs to exactly one album, and all
songs on the same album have different titles.