HOME RESUME PROJECTS & CONTRIBUTIONS TEACHING
The following questions are taken from the course's required textbook and do not belong to me - H. G. Molina, J. Ullman, J. Widom : Database Systems The Complete Book, Pearson/Prentice Hall 2009.

Q1: Page 138 - Exercise 4.1.1

Design a database for a bank, including information about customers and their accounts. Information about a customer includes their name, address, phone, and Social Security number. Accounts have numbers, types (e.g., savings, checking) and balances. Also record the customer(s) who own an account. Draw the E /R diagram for this database. Be sure to include arrows where appropriate, to indicate the multiplicity of a relationship.

Q2: Page 138/139 - Exercise 4.1.2

Modify your solution to Exercise 4.1.1 as follows:

Q3: Page 139 - Exercise 4.1.3

Give an E /R diagram for a database recording information about teams, players, and their fans, including:

Remember that a set of colors is not a suitable attribute type for teams. How can you get around this restriction?

Q4: Page 156 - Exercise 4.4.4

Draw E /R diagrams for the following situations involving weak entity sets. In each case indicate keys for entity sets.