For the following requests

3 100 0
For the following requests

Đang tải... (xem toàn văn)

Thông tin tài liệu

For the following requests, pack your answers into the zip file Assignment1_AccountName.zip, then handle to the evaluator via email (XYZ@fsoft.com.vn) Barem: Q1-30%, Q2.1-40%, Q2.2-30% Question Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course (Primary Key is mark post-fix with #): CUSTOMER(id#, cd#, version#, name, addr, representative) T_ORDER(id#, type, cd, name, customer_cd, customer_version, received_date, request_content) ESTIMATION(id#, cd, order_cd, total_amount) Draw a relational schema diagram specifying the foreign keys for this schema Answer: Question Given the order table with following initial structure (Primary Key is mark post-fix with #) Orde r 1001 1002 1003 Customer Information Cust Name Addr 41 42 43 Jones Smith Jones 121 1st 222 2nd 121 1st Quant 200 10 Part1 Amt1 Screw Motor Saw 2.00 52.00 121.00 Quant 300 Part2 Amt2 Nut Brace 2.25 44.44 Quant 100 Please: Normalize that table structure to the first, second and third normalization forms Answer: First Normalization Form: Order 1001 1001 1001 1002 Cust 41 41 41 42 Name Addr Part Quant Amt Jones Jones Jones Smith 121 1st 121 1st 121 1st 222 2nd Screw Nut Wasshr Motor 200 300 100 2.00 2.25 0.75 52.00 Part3 Amt3 Wasshr 0.75 1002 1003 42 43 Smith Jones 222 2nd 121 1st Brace Saw 10 44.44 121.0 Second Normalization Form: Order 1001 1002 1003 Cust 41 42 43 Name Jones Smith Jones 121 1st 222 2nd 121 1st Addr Order 1001 1001 1001 1002 1002 1003 Part Screw Nut Wasshr Motor Brace Jones Quant 200 300 100 10 Amt 2.00 2.25 0.75 52.00 44.44 121.00 Third Normalization Form: Cust 41 42 43 Name Jones Smith Jones Addr 121 1st 222 2nd 121 1st Order 1001 1002 1003 Order 1001 1001 1001 1002 1002 1003 Cust 41 42 43 Part Screw Nut Wasshr Motor Brace Jones Quant 200 300 100 10 Amt 2.00 2.25 0.75 52.00 44.44 121.00 Draw relational schema diagram for the tables defined in the third normalization form above Answer: ... 10 Amt 2.00 2.25 0.75 52.00 44.44 121.00 Draw relational schema diagram for the tables defined in the third normalization form above Answer: ... Motor Brace Jones Quant 200 300 100 10 Amt 2.00 2.25 0.75 52.00 44.44 121.00 Third Normalization Form: Cust 41 42 43 Name Jones Smith Jones Addr 121 1st 222 2nd 121 1st Order 1001 1002 1003 Order...1002 1003 42 43 Smith Jones 222 2nd 121 1st Brace Saw 10 44.44 121.0 Second Normalization Form: Order 1001 1002 1003 Cust 41 42 43 Name Jones Smith Jones 121 1st 222 2nd 121 1st Addr Order

Ngày đăng: 24/10/2019, 23:15

Tài liệu cùng người dùng

Tài liệu liên quan