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
1m 17s
Input Tokens
560
Output Tokens
431
Cost
$0.01
Context
Input
Count the number of vehicles.
Expected output
SELECT COUNT(*) FROM vehicles;
Model output
SELECT COUNT(*) AS total_vehicles FROM vehicles;