Supplier ---- - Ajinomoto Foods North America | Ajinomoto Foods North America Ajinomoto Foods North America Ajinomoto Foods North America Ajinomoto Foods North America AppetizersUSA AppetizersUSA AppetizersUSA AppetizersUSA AppetizersUSA AppetizersUSA Ascot Valley Foods Ascot Valley Foods Ascot Valley Foods + ---------+---------- Product ---+----------+--------------+-------------- | Product | Quantity | Date Ordered | Order Status | --- . brown, red and wild rice medley organic quinoa black beluga lentils Customer +------....--------+------------ Bradlee Esparza Bradlee Esparza Michelle Ramirez 2| 2021-03-12 4 2021-e3-12 chocolate croissant New order tiramisu classico broccoli florets New order 6| 2021-03-12 New order Green Beans organic quinoa Ground Bison | Green Beans lamb shank in rosemary and mint sauce | coquina clams Potatoes au Gratin Michelle Ramirez | Nico Prince Nico Prince 4 2021-03-12 New order Steakhouse Broccoli and Cauliflower Gratin 4| 2021-03-12 New order brioche burger buns ciabatta sandwich 6 inch mini blinis Pepper Jack Risotto Cakes Harvest Rice Pilaf Mini Baguettes with Garlic Butter frangipane king cake chocolate croissant 10 2021-03-12 New order Jordana Beck | New order 4 2021-03-12 6 | 2021-03-12 3| 2021-03-12 8| 2021-03-12 Dane Kaiser New order Grover Squires Javan Rennie New order | red shrimp from argentina XL New order +-**- ...... ----- 10 rows in set (e.00 sec) Figure 1st Case 1 tiramisu classico
Supplier ---- - Ajinomoto Foods North America | Ajinomoto Foods North America Ajinomoto Foods North America Ajinomoto Foods North America Ajinomoto Foods North America AppetizersUSA AppetizersUSA AppetizersUSA AppetizersUSA AppetizersUSA AppetizersUSA Ascot Valley Foods Ascot Valley Foods Ascot Valley Foods + ---------+---------- Product ---+----------+--------------+-------------- | Product | Quantity | Date Ordered | Order Status | --- . brown, red and wild rice medley organic quinoa black beluga lentils Customer +------....--------+------------ Bradlee Esparza Bradlee Esparza Michelle Ramirez 2| 2021-03-12 4 2021-e3-12 chocolate croissant New order tiramisu classico broccoli florets New order 6| 2021-03-12 New order Green Beans organic quinoa Ground Bison | Green Beans lamb shank in rosemary and mint sauce | coquina clams Potatoes au Gratin Michelle Ramirez | Nico Prince Nico Prince 4 2021-03-12 New order Steakhouse Broccoli and Cauliflower Gratin 4| 2021-03-12 New order brioche burger buns ciabatta sandwich 6 inch mini blinis Pepper Jack Risotto Cakes Harvest Rice Pilaf Mini Baguettes with Garlic Butter frangipane king cake chocolate croissant 10 2021-03-12 New order Jordana Beck | New order 4 2021-03-12 6 | 2021-03-12 3| 2021-03-12 8| 2021-03-12 Dane Kaiser New order Grover Squires Javan Rennie New order | red shrimp from argentina XL New order +-**- ...... ----- 10 rows in set (e.00 sec) Figure 1st Case 1 tiramisu classico
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
I am re-uploading the question . The first image is what I currently have . I did 1-5 but for 6 and 7 I have a little bit of issue

Transcribed Image Text:Product
| Supplier
+----
Customer
| Product
Quantity | Date Ordered | Order Status
brown, red and wild rice medley
organic quinoa
black beluga lentils
Ajinomoto Foods North America
Ajinomoto Foods North America
Ajinomoto Foods North America
Ajinomoto Foods North America
Steakhouse Broccoli and Cauliflower Gratin | Ajinomoto Foods North America
+----
+----------
--------------+
2 | 2021-03-12
4 | 2021-03-12
6 2021-03-12
4 | 2021-03-12
4 |
10 | 2021-03-12
Bradlee Esparza
chocolate croissant
New order
Bradlee Esparza | tiramisu classico
broccoli florets
organic quinoa
Ground Bison
New order
| New order
| New order
| New order
Michelle Ramirez
6
Green Beans
Michelle Ramirez
Nico Prince
2021-03-12
AppetizersUSA
AppetizersUSA
AppetizersUSA
AppetizersUSA
AppetizersUSA
AppetizersUSA
Ascot Valley Foods
Ascot Valley Foods
Ascot Valley Foods
Ascot Valley Foods
Ascot Valley Foods
Culinary Specialties, Inc
Culinary Specialties, Inc
Culinary Specialties, Inc
| Culinary Specialties, Inc
Culinary Specialties, Inc
| Diversified Foods and Seasonings LLC
Diversified Foods and Seasonings LLC
| Diversified Foods and Seasonings LLC
| Diversified Foods and Seasonings LLC
| Diversified Foods and Seasonings LLC
Dutt and Wagner of Virginia, Inc
Dutt and Wagner of Virginia, Inc
Dutt and Wagner of Virginia, Inc
Dutt and Wagner of Virginia, Inc
Dutt and Wagner of Virginia, Inc
John E. Koerner Company
| John E. Koerner Company
| John E. Koerner Company
John E. Koerner Company
John E. Koerner Company
Kellogg NA Company
Kellogg NA Company
| Kellogg NA Company
Kellogg NA Company
Kellogg NA Company
Kellogg NA Company
Monogram Foods
| Monogram Foods
| Monogram Foods
Monogram Foods
Monogram Foods
New Direction Foods
brioche burger buns
Nico Prince
New order
| New order
| New order
New order
Green Beans
ciabatta sandwich 6 inch
lamb shank in rosemary and mint sauce
coquina clams
Potatoes au Gratin
| red shrimp from argentina XL
Jordana Beck
4
2021-03-12
mini blinis
Pepper Jack Risotto Cakes
Harvest Rice Pilaf
Mini Baguettes with Garlic Butter
frangipane king cake
chocolate croissant
6 | 2021-03-12
3 | 2021-03-12
8| 2021-03-12
Dane Kaiser
Grover Squires
Javan Rennie
New order
+-----
10 rows in set (e.00 sec)
Figure 1Ast Case 1
tiramisu classico
Brussels Sprouts with Bacon & Shallots
Steakhouse Creamed Corn
-------------..
--------- ---------
---------
coquina clams
extra fine french peas
Supplier
| Product
| Quantity | Date Ordered | Order Status
--------------.- ---
------..-+-----------..-+--------------+
New Direction Foods
New Direction Foods
Dutt and Wagner of Virginia, Inc
Ajinomoto Foods North America
Kellogg NA Company
Kellogg NA Company
Monogram Foods
Dutt and Wagner of Virginia, Inc
Culinary Specialties, Inc
John E. Koerner Company
lamb shank in rosemary and mint sauce
veal osso buco
cooked small octopus tentacles
black beluga lentils
cappuccino pie
red berry cheesecake
Ground Bison
10 | 2021-03-12
15 | 2021-03-12
15 | 2021-03-12
12 2021-03-12
20| 2021-03-12
18| 2021-03-12
10| 2021-03-12
15 | 2021-03-12
14 | 2021-03-12
10| 2021-03-12
New order
New order
artichoke bottoms
Breaded Pork Tenderloin
New order
Lemon Dill Salmon Fillets
New order
family size whipped sweet potatoes
potatoes au gratin
jasmine rice
Gourmet Crab Cakes
New order
New order
| New order
Spiral Sliced Ham
King Crab Legs
Lemon Dill Salmon Fillets
New order
New order
New order
Cold Water Lobster Tails
+------------- ------.------------+------------
medium wild langoustines
cooked small octopus tentacles
red shrimp from argentina XL
Turkey Burgers
Spiral Sliced Ham
very find yellow wax beans
broccoli florets
10 rows in set (0.01 sec)
family size smashed red potatoes
Chilean Sea Bass
King Crab Legs
authentic french creme brulee
cappuccino pie
red berry cheesecake
Roasted Vegetable Medley
Asparagus Spears With Hollandaise Sauce
Potatoes au Gratin
braveheart angus beef flank steak
boneless chicken breasts
bacon-wrapped pork chops
Ground Bison
Home-Style Roasted Turkey Breast
lamb shank in rosemary and mint sauce
veal osso buco
New Direction Foods
braveheart angus beef boneless short rib
Butcher's Cut Filet Mignon
Butcher's Cut Top Sirloin
T-Bone Steak
New Direction Foods
New Direction Foods
New Direction Foods
| New Direction Foods

Transcribed Image Text:mysql> SELECT * FROM PURCHASEORDER;
Times New Roman
- 12
| ID
supplierId
productId
quantity
orderDate
i orderStateId
I U v ab
x A
==== E-
х,
Editing
Create and Share Request
Signatures
Styles
Dictate
Sensitivity
Editor
A - I. A
A A°
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
5
Aa v
Adobe PDF
Paragraph
A Styles a
Font
Adobe Acrobat
Voice
Sensitivity
Editor
8
26
27
34
ks
41
39
10
5
iery Description
1. Change to use the database frozenfood
2. Insert into table productSupplier the data in file productSupplier.sg!
3. Insert into table customerOrder the data in file customerOrder.sql
4. Insert into table purchaseOrder the data in file purchaseOrder.sql
5. Execute the SQL join query in file testCaselCode.sql
6. Write a SQL join query to do the following
10 rows in set (0.00 sec)
mysql> SELECT * FROM CUSTOMERORDER;
| ID
customerId
productId
quantity
orderDate
| orderStateId
56
56
70
70
48
48
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
2021-03-18
14
20
34
44
65
52
10
a. Select product description from table product as Product
b. Select supplier name from table supplier as Supplier
c. Join tables product, supplier and productSupplier
d. Order by supplier name
9
5
10
9
10 rows in set (0.00 sec)
mysql> SELECT * FROM PURCHASEORDER;
| ID
supplierId | productId
quantity
orderDate
orderStateId |
7. Write a SQL join query to do the following
2021-03-18
2021-03-18 |
2021-03-18 |
2021-03-18 !
2021-03-18 j
2021-03-18!
2021-03-18 |
2021-03-18
2021-03-18 j
5
a. Select supplier name from table supplier as Supplier
b. Select product description from table product as Product
c. Select quantity from table purchaseOrder as Quantity
d. Select order date from table purchaseOrder as Date Ordered
Select state from table orderState as OrderStatus
f. Join tables product, supplier, purchaseOrder and orderState
2
8
37
41
39
5
9
5
е.
10
2021-03-18
10
CO 00 cOc)
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.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