1. Write a SELECT statement that returns one row for eachcustomer that has order. Show:
- The first and last names and email address of the customer
- The sum of the item price in the multiplied by the quantity asa total price
- The sum of the discount amount multiplied by the quantity asthe discount amount
Sort the result set in descending sequence by the item pricetotal for each customer.
2. List the count of the products order. Show the count and thename of the product
Answer