SQL

Natural language to SQL query generation evaluates text-to-query fidelity and schema reasoning. This task is particularly relevant for analytics chat assistants and simplified database interfaces where users need to query data using natural language. Models must understand both the intent behind the question and the structure of the underlying database schema.

100
Duration
36s
Input Tokens
962
Output Tokens
73
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);