Gemini 3.1 Pro Preview
google/gemini-3.1-pro-preview
- Latency
- 2.7s
- Cost
- $0.00416
- Per 1,000
- $4.16
69 in · 335 out (286 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 tables, groups by product, uses HAVING with SUM(quantity) > 100 filter, returns names only, and contains no WHERE clause on the aggregate.