You are on page 1of 3

Q1:

Draw a relational schema diagram specifying the foreign keys for this
schema.

Note:
BOOK_TITLE(ISBN_Number#, Title, PublisherID, PublishedDate,
BookFormat, Pages, Price)

BOOK_AUTHOR(ISBN_Number#, AuthorID#)

AUTHOR(AuthorID#, AuthorFirstName, AuthorLastName)

PUBLISHER(PublisherID#, PublisherName)

BOOK_CATEGORY(ISBN_Number#,CategoryID#)

CATEGORY(CategoryID#, CategoryDescription)

BOOK_FORMAT(BookFormat#, FormatDescription)

Q2:
a) Draw an ER diagram that captures this information.
b) Convert from ER diagram to relational schema

Answer
A)

Note:
employee (ssn, salary, phone)

department(dno, dname, budget)

children(name, age)

B)

You might also like