GLM 5.3
z-ai/glm-5.3
- Latency
- 275ms
- Cost
- $0.00043
- Per 1,000
- $0.43
92 in · 69 out · 34 words · checks 6/6
- regex
- regex
- regex
- regex
- regex
- contains
SELECT c.name, SUM(o.amount) AS total_amount FROM customers c JOIN orders 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.name ORDER BY total_amount DESC LIMIT 5;
Judge: Query correctly implements JOIN, GROUP BY, ORDER BY, and LIMIT with proper 2025 date filtering; minor deduction only because GROUP BY should ideally include c.id to be fully standard-compliant across all SQL dialects, though this works in most modern systems.