in Databases retagged by
434 views
2 votes
2 votes



The above ER diagram depicts a book rental scheme.

If this ER diagram is mapped to a relational model, to correctly depict this above scenario, the total number of relations required will be _________.

in Databases retagged by
by
434 views

1 Answer

8 votes
8 votes
Best answer

Student(Sid, Sname, Address)

Book(BNo, Publisher)

Since it is many to many relationship a separate table will be required So, we can write hasRented(Sid, BNo)

One Table for multivalued attribute Phone no with attributes -> (Sid, PhoneNo)

Another Table for multivalued attribute Color with attributes -> (BNo, Color)

Therefore total 5 relations will be required.

selected by
Answer:

Related questions