Expectations: 1. Normalize the data, provide rationale for the tables you create, create the relational tables that you identified as part of the normalization process using appropriate SQL/DDL, insert the data into the tables using SQL/DDL, create queries as indicated using SQL/DML Aim: To review Relational concepts including normalization and SQL coding. Customer Alice Address 13-14 5th Ave Ordered Plums Amount 40 Priceperunit 1 Onhand 100 Vendor Very Fresh Alice 1314 5th Ave Oranges 30 3 300 Garden Heaven Alice 13-14 5thAve Pears 10 4 400 Produce One Alice 1314 5th Avenue Oranges 40 3 300 Garden Heav. Bill 55 Mapel Drive Apples 50 2 200 Very Fresh Bill 55 Maple Drive Bananas 100 5 500 Garden Heaven Bill 55 Maple Dr. Bananas 100 5 500 Caitlin 1 Oak Road Apt. 3A Plums 40 1 100 Caitlin Elizabeth 1 Oak Rd. Ap. 3A Plums 40 1 100 V. Fresh 16 Sunshine Lane Kiwi 30 7 700 Laura 66 East 4th Street Grapes 60 6 600 Garden Hyn. Very Fresh Veggie Heaven Veggie Haven Laura 66 East 4th Street Apples 10 2 200 Very Fresh • SECTION One - Normalize the table above ° using the methods taught in class and also the readings/videos assigned for this week split the table into separate tables. ° о Identify the primary, secondary (foreign) and/or composite keys Using the example given below as your guide, document each table you created after you have normalized the data in this manner. EXAMPLE: Tablename1 (fieldname1, fieldname2, fieldname3, fieldname4) - fieldname1 is underlined to show it is a primary key ° Please note: make sure each table does not contain any unnecessary repetition and errors. Make sure each table has a unique identifier (Primary key, Composite key). Underline the primary or composite key. SECTION 2 Describe what you created For each table you created in section 1, a) Discuss your rationale for creating the table and, b) list all the tables that are related to the table you are describing. Please see example Example: The rationale for creating Tablenamel was that..... Tablename1 is related to Tablename2 through the key fieldname1. Tablename 1 is also related to Tablename3 through the fieldname1 etc.
Expectations: 1. Normalize the data, provide rationale for the tables you create, create the relational tables that you identified as part of the normalization process using appropriate SQL/DDL, insert the data into the tables using SQL/DDL, create queries as indicated using SQL/DML Aim: To review Relational concepts including normalization and SQL coding. Customer Alice Address 13-14 5th Ave Ordered Plums Amount 40 Priceperunit 1 Onhand 100 Vendor Very Fresh Alice 1314 5th Ave Oranges 30 3 300 Garden Heaven Alice 13-14 5thAve Pears 10 4 400 Produce One Alice 1314 5th Avenue Oranges 40 3 300 Garden Heav. Bill 55 Mapel Drive Apples 50 2 200 Very Fresh Bill 55 Maple Drive Bananas 100 5 500 Garden Heaven Bill 55 Maple Dr. Bananas 100 5 500 Caitlin 1 Oak Road Apt. 3A Plums 40 1 100 Caitlin Elizabeth 1 Oak Rd. Ap. 3A Plums 40 1 100 V. Fresh 16 Sunshine Lane Kiwi 30 7 700 Laura 66 East 4th Street Grapes 60 6 600 Garden Hyn. Very Fresh Veggie Heaven Veggie Haven Laura 66 East 4th Street Apples 10 2 200 Very Fresh • SECTION One - Normalize the table above ° using the methods taught in class and also the readings/videos assigned for this week split the table into separate tables. ° о Identify the primary, secondary (foreign) and/or composite keys Using the example given below as your guide, document each table you created after you have normalized the data in this manner. EXAMPLE: Tablename1 (fieldname1, fieldname2, fieldname3, fieldname4) - fieldname1 is underlined to show it is a primary key ° Please note: make sure each table does not contain any unnecessary repetition and errors. Make sure each table has a unique identifier (Primary key, Composite key). Underline the primary or composite key. SECTION 2 Describe what you created For each table you created in section 1, a) Discuss your rationale for creating the table and, b) list all the tables that are related to the table you are describing. Please see example Example: The rationale for creating Tablenamel was that..... Tablename1 is related to Tablename2 through the key fieldname1. Tablename 1 is also related to Tablename3 through the fieldname1 etc.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Just do the section 2 only
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education