SQL Generation

Turn plain-English questions into correct SQL against a schema. The skill behind analytics chat, natural-language dashboards, and 'just ask the database' interfaces.

100
Duration
3s
Input Tokens
1182
Output Tokens
78
Cost
$0.00
Context
Input
Create an index to speed up queries filtering by active users.
Expected output
CREATE INDEX idx_users_is_active ON users(is_active);
Model output
CREATE INDEX idx_users_is_active ON users (is_active);