How do you sum item quantities in groups defined by a condition?

The query splits order line items into two categories: many for line items containing at least two units of a product, and one for line items containing exactly one unit. It then adds up the quantities ordered within each category. What numbers will the query return?

Predict the resultGROUP BY / HAVINGJuniorAnalystData EngineerBackendQA
Input data · iv_order_items
idorder_idproductquantityprice
11pen102.00
21notebook110.00
32pen14.00
43notebook510.00
53bag150.00
64pen23.00
75pen310.00
87bag260.00
98notebook240.00

Query

SELECT CASE
         WHEN quantity >= 2 THEN 'many'
         ELSE 'one'
       END AS size_group,
       SUM(quantity) AS units
FROM iv_order_items
GROUP BY CASE
           WHEN quantity >= 2 THEN 'many'
           ELSE 'one'
         END
ORDER BY size_group