

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An assignment for a course on database design. It provides instructions for normalizing a table based on the TAL Distributors database. step-by-step instructions for breaking the table into subsets and identifying primary keys. It also provides guidance on assigning names to the newly created tables. This document could be useful as study notes or an assignment for a university course on database design.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


On page 174, TAL Distributors Exercises, complete question 1. The following exercises are based on the TAL Distributors database shown in Figure 5-1.
Step 1: Breaking the group of Columns to create 1st^ normalization form. Item (ItemNum, Description, OnHand, Category, Price, OrderNum, OrderDate, CustomerNum, CustomerName, RepNum, LastName, FirstName, NumOrdered, QuotedPrice)
Step 2: Converting into the 2nd^ normalization form. Identifying the primary keys for each subset; (ItemNum, (OrderNum, (CustomerNum, (RepNum, Regrouping the Columns as per dependencies; (ItemNum, Description, Category, OnHand, Price) (OrderNum, OrderDate, CustomerNum, CustomerName, RepNum, NumOrdered, QuotedPrice) (CustomerNum, CustomerName) (RepNum, LastName, FirstName) Assigning the names for the newly assigned tables; Item (ItemNum, Description, Category, OnHand, Price) Orders (OrderNum, OrderDate, CustomerNum, CustomerName, RepNum, NumOrdered, QuotedPrice) Customer (CustomerNum, CustomerName)
Rep (RepNum, LastName, FirstName)
Step 3: Converting to the 3rd^ normalization form and creating a new table called Orderline with the dependent rows: (OrderNum, ItemNum, NumOrdered, QuotedPrice). So the final content would be; Orderline (OrderNum, ItemNum, NumOrdered, QuotedPrice)
Step 4: Naming these tables and put the entire collection together, giving the following: Item (ItemNum, Description, Category, OnHand, Price) Orders (OrderNum, OrderDate, CustomerNum, CustomerName, RepNum, NumOrdered, QuotedPrice) Customer (CustomerNum, CustomerName) Rep (RepNum, LastName, FirstName) Orderline (OrderNum, ItemNum, NumOrdered, QuotedPrice)
The functional dependencies are: Orders table: CustomerNum CustomerName RepNum (LastName, FirstName) Orderline table depends on Orders table for the columns (OrderNum, NumOrdered, QuotedPrice) and Item table for the column ItemNum.