Muse Spark 1.3
meta/muse-spark-1.3
- Latency
- 464ms
- Cost
- $0.00184
- Per 1,000
- $1.84
88 in · 406 out (344 reasoning) · 19 words · checks 4/4
- regex
- regex
- regex
- regex
SELECT p.name FROM products p JOIN order_items oi ON p.id = oi.product_id GROUP BY p.name HAVING SUM(oi.quantity) > 100;
Judge: Query correctly joins tables, groups by product name, uses SUM(quantity) in HAVING clause to filter aggregates > 100, returns only names, and contains no WHERE clause on the aggregate.