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 point
Which SQL query retrieves the average order amount for each customer who placed more than orders from the "orders" table?
SELECT customerid AVGorderamount FROM orders HAVING COUNTorderid GROUP BY customerid
SELECT customerid AVGorderamount FROM orders WHERE COUNTorderid GROUP BY customerid
SELECT customerid AVGorderamount FROM orders GROUP BY customerid WHERE COUNTorderid
SELECT customerid AVGorderamount FROM orders GROUP BY customerid HAVING COUNTorderid
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
