The Customers relation scheme attributes are:

The primary key attribute of the Customers relation is the Customer I.D.; the attributes first name, last name, and phone are a candidate key.

The Loans relation scheme attributes are:

The primary key attributes of the Loans relation are the foreign keys call number and copy number plus the date and time out, a discriminator attribute. The Date and time out and the scanner I.D. attributes form an additional candidate key.

The Books-on-the-shelf relation scheme attributes are:

The primary key attributes of the Books-on-the-shelf relation are the foreign key from Catalog Entries plus the copy number.

The Catalog Entries relation scheme attributes are:

The primary key attribute of the Catalog Entries relation is the call number; the attributes title and publication date are a candidate key, as is the ISBN.

Return to main page