0
What is the output of the following SQL statements?
CREATE TABLE orders(cust TEXT, amt INT);
INSERT INTO orders VALUES ('a',100),('b',250),('a',300),('c',50),('b',150),('a',200);
SELECT cust, SUM(amt) FROM orders GROUP BY cust HAVING COUNT(*) >= 2 ORDER BY cust;- Aa 600, b 400, c 50
- Ba 600, b 400
- Ca 3, b 2
- Da 600, c 50
Correct answer: B