GPT-5.5
openai/gpt-5.5
- Latency
- 442ms
- Cost
- $0.00548
- Per 1,000
- $5.48
88 in · 168 out (76 reasoning) · 40 words · checks 5/6
- regex
- regex
- regex
- regex
- regex
- contains
SELECT c.name, SUM(o.amount) AS total_order_amount FROM customers AS c JOIN orders AS o ON o.customer_id = c.id WHERE o.ordered_at >= DATE '2025-01-01' AND o.ordered_at < DATE '2026-01-01' GROUP BY c.id, c.name ORDER BY total_order_amount DESC FETCH FIRST 5 ROWS ONLY;
Judge: Query correctly joins customers and orders, filters 2025 using portable DATE syntax, groups by customer with proper aggregation, orders descending by total, limits to 5 rows, and uses standard SQL throughout.