Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 15, Need help please. Use a query to compute the total of all purchases, the number of purchases, and the average purchase amount made

Problem 15, Need help please. Use a query to compute the total of all purchases, the number of purchases, and the average purchase amount made by each customer. Your output values must match those shown in Figure P7.15. Sort the results by customer code.

image text in transcribed

CUS_CODE CUS_BALANCE Total Purchases Number of Purchases Average Purchase Amount 10011 0.00 444.00 6 74.00 10012 345.86 153.85 3 51.28 10014 0.00 422.77 6 70.46 10015 0.00 34.97 2 17.49 10018 216.55 70.44 1 70.44

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

What federal statutes have been enacted to protect privacy rights?

Answered: 1 week ago