Assignment 2
Assignment 2
Write a SQL query to normalize a table into First Normal Form (1NF).
Write a SQL query to resolve overlapping candidate keys and achieve BCNF.
OrderID INT,
CustomerName VARCHAR(100),
);
OrderID INT,
CustomerName VARCHAR(100),
ProductName VARCHAR(100)
);
Explanation:
o The goal is to eliminate repeating groups and ensure atomic values in each
column, achieving 1NF.
Key Components :
Real-World Application :