← RGPV CS-502 DBMS June 2025 solved question paper
RGPV CS-502 (GS) | June 2025 | Q3(a)
Question (restated): Explain how multivalued ER attributes are represented in relational tables.
Answer
A multivalued attribute may have several values for one entity, such as phone numbers of a student. Storing a comma-separated list in one field complicates searching and violates the usual atomic-value interpretation of 1NF. Create Student(Sid,Name) and StudentPhone(Sid,Phone). The primary key of StudentPhone is (Sid,Phone); Sid is a foreign key referencing Student. If student 101 has numbers 55501 and 55502, insert two rows (101,55501) and (101,55502). A student without a phone has no corresponding row. This preserves the one-to-many association, prevents duplicate phone entries per student, and permits independent insertion and deletion.
CREATE TABLE StudentPhone (Sid INT NOT NULL, Phone VARCHAR(20) NOT NULL, PRIMARY KEY (Sid,Phone), FOREIGN KEY (Sid) REFERENCES Student(Sid));
A composite multivalued attribute is mapped using its component columns.
https://easyexamnotes.com/wp-content/uploads/2026/12/multivalued-attribute-relational-mapping-jun2025.png
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion