A book has the following attributes: title, author, publisher, year of publication, ISBN number, and number of pages.
An author has the following attributes: first name, last name, date of birth, e-mail address, physical address, and phone number.
A publisher has the following attributes: name, one or more physical addresses, one or more phone numbers, and one or more fax numbers.
A phone number can have the following attributes: country code, area/city code, phone number, and type (voice land line, voice mobile, or fax land line).
A physical address can have the following attributes: street number, street name, city, state/province/region, postal code (alpha numerical), and country.
Assume that an author can write one book only and a book can have one author only. Draw an ER diagram that represents this scenario. Be sure to mark the key attributes and include cardinality constraints on relationships.
Question 2: Add the following new information to the scenario given in Question 1:
A book can have multiple authors.
An author can write multiple books.
Question 3: Consider the following scenario about a college club:
A college club can have following attributes: name, phone number, and office location.
Each club has an advisor who is a member of faculty (faculty advisor) who has the following attributes: name, department, and office location.
An advisor is assigned to a club for a particular semester. A club can have multiple advisors but a faculty member can be assigned as an advisor to one club only.
Draw an ER diagram that represents this scenario. Be sure to mark the key attributes and include cardinality constraints on relationships.