Using the om database, replicate the sample output below which provides information about customers and their shopping
Question:
Using the om database, replicate the sample output below which provides information about customers and their shopping history. Include the customer name, total number of orders placed, total quantity ordered, total amount spent, average quantity per order, average amount spent per order. You must accomplish this with either a subquery or CTE structure, it is your choice. Pay attention to the structure directions on page 1 of this document. (+2 points bonus): Provide a short explanation of why you used either option (+2 points bonus). Your result set should look like this, including results, sort, column headers, and all formatting
aspects:
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young