Question
Option 4 : The primary key of Room is (BldgNo, RoomNo), combining the owner key with the discriminator / Room की प्राथमिक कुंजी (BldgNo, RoomNo) है, जो स्वामी कुंजी और विभेदक का संयोजन है
Detailed Solution
सही उत्तर The primary key of Room is (BldgNo, RoomNo), combining the owner key with the discriminator / Room की प्राथमिक कुंजी (BldgNo, RoomNo) है, जो स्वामी कुंजी और विभेदक का संयोजन है है।
Question:
In an ER diagram, Building is a strong entity with key BldgNo, and Room is a weak entity with partial key RoomNo connected by the identifying relationship Contains. RoomNo is unique only within one building. Which statement is TRUE? / एक ER आरेख में Building कुंजी BldgNo वाली सशक्त एंटिटी है, तथा Room आंशिक कुंजी RoomNo वाली दुर्बल एंटिटी है जो पहचानकर्ता संबंध Contains से जुड़ी है। RoomNo केवल एक भवन के भीतर अद्वितीय है। कौन-सा कथन सत्य है?
Correct Answer: The primary key of Room is (BldgNo, RoomNo), combining the owner key with the discriminator / Room की प्राथमिक कुंजी (BldgNo, RoomNo) है, जो स्वामी कुंजी और विभेदक का संयोजन है
A weak entity has no key of its own; its primary key is formed by the partial key (discriminator) together with the primary key of its identifying owner entity. So Room's key is (BldgNo, RoomNo). / दुर्बल एंटिटी की अपनी कोई कुंजी नहीं होती; इसकी प्राथमिक कुंजी आंशिक कुंजी (विभेदक) और पहचानकर्ता स्वामी एंटिटी की प्राथमिक कुंजी के संयोजन से बनती है। अतः Room की कुंजी (BldgNo, RoomNo) है।