GATE | Gate IT 2005 | Question 21
Consider the entities ‘hotel room’, and ‘person’ with a many to many relationship ‘lodging’ as shown below:
If we wish to store information about the rent payment to be made by person (s) occupying different hotel rooms, then this information should appear as an attribute of
(A) Person
(B) Hotel Room
(C) Lodging
(D) None of these
Answer: (C)
Explanation:
Lodging is the only attribute relating person and hotel room.
Quiz of this Question
Last Updated :
28 Jun, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...