Customer Name Item Shipping Address
Customer Name Item Shipping Address
primaryk key
customer id Customer Name Item
at_smith Alan Smith Xbox One
roger25 Roger Banks PlaySation 4
wilson44 Evan Wilson Xbox One
wilson44 Evan Wilson PS Vita
am_smith Alan Smith PlaySation 4
hlook_up_newsletter
customer_id newsletter
at_smith Xbox News
roger25 PlaySation News
wilson44 Xbox News
wilson44 PlaySation News
am_smith PlaySation News
Sales Record
Newsletter Supplier Supplier Phone Price
Xbox News Microsoft (800) BUY - XBOX 250
PlayStation News Sony (800) BUY -SONY 300
Xbox News, PlayStation News Wholesale Toll Free 450
PlayStation News Sony (800) BUY- SONY 300
customer id Item
at_smith Xbox One
roger25 PlaySation 4
wilson44 Xbox One
wilson44 PS Vita
am_smith PlaySation 4
hlook_up_transaksi
customer_id item primary key
at_smith Xbox One supplier
roger25 PlaySation 4 Microsoft
wilson44 Xbox One Sony
wilson44 PS Vita
am_smith PlaySation 4
Un Normalized
Price
250
300 1NF
250
200
300
2NF
Tabel Supplier
3NF
Supplier Phone
(800) BUY - XBOX
(800) BUY -SONY
price
250
300
200
4NF
supplier
supplier_phone
(800) BUY - XBOX
(800) BUY -SONY
Syarat untuk 1NF:
1. Each cell to be single valued
2. Entries in a column are same type
3. Rows uniquely identified - Add Unique ID, or add more columns to make unique
Primary key
Custemer ID Customer Name Item
Al_smith Alan Smith Xbox One
R_Bank Roger Banks PlaySation 4
E_Wilson Evan Wilson Xbox One
E_Wilson Evan Wilson PS Vista
Am_Smith Alan Smith PlaySation 4
Tabel Lookup
Custemer ID Item
Al_smith Xbox One
R_Bank PlaySation 4
E_Wilson Xbox One
E_Wilson PS Vista
Am_Smith PlaySation 4
Primery Key
Tabel lookup Transaksi Supplier
Custemer ID Item Microsoft
Al_smith Xbox One Sony
R_Bank PlaySation 4
E_Wilson Xbox One
E_Wilson PS Vista
Am_Smith PlaySation 4
Un Normalized
Price
250
300
1NF
250
200
300
2NF
Tabel Suplier
Supplier Phone
(800) BUY - XBOX
(800) BUY -SONY
3NF
3NF
Price
250
300
200
Tabel Suplier
Supplier Phone
(800) BUY - XBOX
(800) BUY -SONY
3NF