Challenge

Project 2

Answer is attached below,

SELECT *
FROM orders a
WHERE purch_amt >
(SELECT AVG(purch_amt) FROM orders b
WHERE b.customer_id = a.customer_id);

SELECT SUM (month)
FROM orders;

SELECT COUNT(cities,group,name of cities)
FROM customer;

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.