Consider the following table Orders:
OrderID | Customer | Items ------- | -------- | ----------- 1 | Alice | Pen, Notebook 2 | Bob | Pencil 3 | Carol | Eraser, Sharpener, Ruler
Which of the following statements best describes why this table violates the First Normal Form (1NF)?
1NF requires each column to hold atomic (indivisible) values.
1NF requires that each column contains atomic values. Here, the Items column holds multiple items in one cell, which breaks this rule.
Given a table Students with columns StudentID, Name, and PhoneNumber, where each student has only one phone number stored per row (1NF compliant). The table data is:
StudentID | Name | PhoneNumber --------- | ----- | ----------- 1 | John | 123-4567 2 | Jane | 234-5678 3 | Mike | 345-6789
What will be the output of the query:
SELECT Name, PhoneNumber FROM Students WHERE PhoneNumber LIKE '234%';
Look for phone numbers starting with '234'.
The query filters phone numbers starting with '234', which matches Jane's number only.
You need to design a table Books to store book information including multiple authors per book. Which schema design ensures the table complies with First Normal Form (1NF)?
1NF requires atomic values and no repeating groups in a single table.
Option B separates authors into their own table with one author per row, ensuring atomicity and compliance with 1NF.
Review the following SQL table definition:
CREATE TABLE Employees ( EmployeeID INT PRIMARY KEY, Name VARCHAR(100), Skills VARCHAR(255) );
The Skills column stores multiple skills separated by commas (e.g., 'SQL,Python,Java'). What is the problem with this design regarding First Normal Form (1NF)?
1NF requires each column to hold atomic values.
Storing multiple skills as a comma-separated string violates atomicity, breaking 1NF.
Which of the following best explains the main reason why First Normal Form (1NF) is essential in relational database design?
Think about what atomic values mean and why they matter.
1NF requires atomic values in columns to avoid multi-valued attributes, which makes querying and data manipulation consistent and reliable.