Question: Consider the following table: orders order _ id customer _ id amount Which of the following SQL snippets will complete this query so that it

Consider the following table:
orders
order_id
customer_id
amount
Which of the following SQL snippets will complete this query so that it returns all customers whose total amou
across all orders is greater than 1,200?
SELECT customer_id
FROM orders
GROUP BY customer_id
HAVING SUM(amount)>1200
WHERE GROUP SUM(amount)>1200
RETURN SUM (amount)>1200
WHERE SUM(amount)>1200
WITH SUM(amount)>1200
 Consider the following table: orders order_id customer_id amount Which of the

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 Databases Questions!