The DataBase Course

Exercise No. 1

Entity-Relationship, Network and Relational Models

Due on November 18th by midnight

 

Important Course Information:

 

Exercise Questions:

You are required to design a database containing information on university libraries. The information that the database should contain is the following:

  1. Give an entity-relationship diagram for this database:
  • Define the entity sets, and their appropriate attributes.
  • Define relationships and their attributes.
  • Specify keys for each entity
  • Specify the functionality of relationships (many-to-one, etc.)
  • Denote weak entity sets (that own keys through relationships), the corresponding relationships, and their partial keys.

State explicitly any assumptions which you make for the design. Note that the attributes are not complete - you should design them yourself for each entity and relationship.

  1. Transform the entity-relationship diagram into a network database schema.
  1. Transform the entity-relationship diagram into a relational database schema.