Database Management System · Class 12 · CBSE · Science Computer Science

Explain why storing several phone numbers as a single comma-separated value in one attribute violates First Normal Form (1NF). Suggest a suitable rel…

Practice question from Database Management System (Class 12 · CBSE · Science Computer Science), with the correct answer and a step-by-step solution.

hard · Subjective · Q-B67FC5

Explain why storing several phone numbers as a single comma-separated value in one attribute violates First Normal Form (1NF). Suggest a suitable relational design to store multiple phone numbers for each customer.

Answer: A relation is in 1NF when every attribute contains atomic, single-valued entries; therefore, a comma-separated list of phone numbers violates 1NF. A suitable design is to keep Customer(CustomerID, CustomerName) and create CustomerPhone(CustomerID, PhoneNumber), with one row for each phone number and CustomerID as a foreign key.

Solution

1NF requires each field to contain one indivisible value rather than a repeating group or list. Separating phone numbers into a related relation preserves atomicity and supports any number of phone numbers per customer.

More from Database Management System

All of Database Management System

Practise more Computer Science

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed