BuslerLAB2

BuslerLAB2 - , Date_sold, Commission_percent, Discount_amt)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
IST 210 Lab #2 Chelsea Busler 6/16/11 Exercise 1: Step 1 -- Three reasons why we normalize databases is to eliminate redundant data, ensure that data dependencies make sense, and reduce the space that the database consumes by logically organizing the data. Step 2 -- 1NF Table Name: ITEM Column Name Item_Num Item_Desc Quantity Price Key Type Primary Key Sample Data 6531 7890 7956 3456 4234 7956 Tape Table Pens Stove Paper Pens 5 1 1 1 15 10 $100 $400 $2 $300 $234 $20 Step 3 -- 2NF Table Name: ITEM Column Name Item_Num Item_Desc Quantity Price Key Type Primary Key Step 4 -- 3NF Table Name: Item_Price Column Name Item_Desc Price Key Type Primary Key Exercise 2: Step 1: 1NF (Car_num, Salesman
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: , Date_sold, Commission_percent, Discount_amt) Partial Dependencies: (Car_num Date_sold) (Salesman Commission_percent) Transitive Dependencies: (Date_sold Discount_amt) Step 2: CAR_SALE is not in 2NF or 3NF because there are partial and transitive dependencies present. These can lead to redundancy in the database. Step 3: Table Name: CAR Column Name Car_Num Date_Sold Key Type Primary Table Name: SALESMAN Column Name Salesman Commission_percent Key Type Primary Key Table Name: DATE_SOLD Column Name Date_Sold Discount_Amt Key Type Primary Key...
View Full Document

Page1 / 2

BuslerLAB2 - , Date_sold, Commission_percent, Discount_amt)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online