4. Display customer ID, customer name, and the order ID and the order date of all orders for customer whose ID is 44. a. Show also the total quantity and the total amount of each customer's order. b. Sort the result from the highest to lowest total order amount. Cuntoner ) Nare l0 order ta ) order Date 9228-OCT-15 $1,050, 939.97 $755, 093.92 $620, 962.99 $508, 508.59 $390, 636.25 44 Jabil cireuit 44 Jabil cireuit 790 44 Jabil cireuit 44 Jabil Cireuit 69 17-MAR-17 1024-JAN-17 581 803 44 Jabil cireuit 29 14-AUG-17 8203-DEC-16 831 687 5. Display customer Id, name, total number of orders, the total number of items ordered, and the total order amount for customers who have more than 30 orders. Sort the result based on the total number of orders. Cuatoner le) Name 47 General Mills 8 International Paper 49 NextEra Energy 9 Emerson Electric Total Nanber of Orders) Total Rena ) Total Amourt 33 3116 3201 3351 3301 $3, 725, 130.14 $2, 642,238.04 $2, 452, 508.95 $2, 893, 564.97 $3,334, 221. 72 35 37 37 44 Jabil cireuit 45 3772
4. Display customer ID, customer name, and the order ID and the order date of all orders for customer whose ID is 44. a. Show also the total quantity and the total amount of each customer's order. b. Sort the result from the highest to lowest total order amount. Cuntoner ) Nare l0 order ta ) order Date 9228-OCT-15 $1,050, 939.97 $755, 093.92 $620, 962.99 $508, 508.59 $390, 636.25 44 Jabil cireuit 44 Jabil cireuit 790 44 Jabil cireuit 44 Jabil Cireuit 69 17-MAR-17 1024-JAN-17 581 803 44 Jabil cireuit 29 14-AUG-17 8203-DEC-16 831 687 5. Display customer Id, name, total number of orders, the total number of items ordered, and the total order amount for customers who have more than 30 orders. Sort the result based on the total number of orders. Cuatoner le) Name 47 General Mills 8 International Paper 49 NextEra Energy 9 Emerson Electric Total Nanber of Orders) Total Rena ) Total Amourt 33 3116 3201 3351 3301 $3, 725, 130.14 $2, 642,238.04 $2, 452, 508.95 $2, 893, 564.97 $3,334, 221. 72 35 37 37 44 Jabil cireuit 45 3772
Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter7: Introduction To Structured Query Language (sql)
Section: Chapter Questions
Problem 97C: The following tables provide a very small portion of the data that will be kept in the database....
Related questions
Question
100%
Please use sql to answer the following question an erd also provide as the picture shown
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 Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage