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.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter13: Views
Section: Chapter Questions
Problem 1MC
icon
Related questions
Question

Just do the section 2 only

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.
Transcribed Image Text: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.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr