Claude keeps getting SQLite's weird GROUP BY with MIN/MAX behavior completely wrong. Generally, complex SQL is not its strong side.