Question: Question 1 5 ( 1 point ) Which SQL query retrieves the average order amount for each customer who placed more than 5 orders from

Question 15(1 point)
Which SQL query retrieves the average order amount for each customer who placed more than 5 orders from the "orders" table?
SELECT customer_id, AVG(order_amount) FROM orders HAVING COUNT(order_id)>5 GROUP BY customer_id
SELECT customer_id, AVG(order_amount) FROM orders WHERE COUNT(order_id)>5 GROUP BY customer_id
SELECT customer_id, AVG(order_amount) FROM orders GROUP BY customer_id WHERE COUNT(order_id)>5
SELECT customer_id, AVG(order_amount) FROM orders GROUP BY customer_id HAVING COUNT(order_id)>5
Question 1 5 ( 1 point ) Which SQL query

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!