Grok 4.6
x-ai/grok-4.6
- Latency
- 369ms
- Cost
- $0.00164
- Per 1,000
- $1.64
276 in · 214 out (176 reasoning) · 20 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.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 filtering the aggregate.