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
23s
Input Tokens
960
Output Tokens
707
Cost
$0.01
Context
Input
Can you show me all the courses that are published?
Expected output
SELECT * FROM courses WHERE is_published = TRUE;
Model output
SELECT course_id, title, description, instructor_id, created_at, is_published
FROM courses
WHERE is_published IS TRUE;