GPT-5.5
openai/gpt-5.5
- Latency
- 399ms
- Cost
- $0.00282
- Per 1,000
- $2.82
73 in · 82 out (33 reasoning) · 22 words · checks 4/4
- regex
- regex
- regex
- regex
SELECT p.name FROM products AS p JOIN order_items AS oi ON oi.product_id = p.id GROUP BY p.id, p.name HAVING SUM(oi.quantity) > 100;
Judge: Query correctly joins products and order_items, groups by product, uses HAVING with SUM(quantity) > 100, returns only names, and contains no WHERE clause on the aggregate.