ExpertTechnical AI300 XP
SQL From Plain English
Create a prompt that converts natural language database queries into syntactically correct PostgreSQL — with column names drawn only from a provided schema, never hallucinated.
Context
Text-to-SQL is a high-value enterprise use case. The critical failure mode is hallucinating column or table names. Your prompt must prevent this entirely.
Hints
0/3 revealedEach hint costs 10 XP from your reward.
Your Prompt0 words
Scoring Rubric
Role definition+20 XP
Explicit constraints+20 XP
Output format+10 XP
Prompt length & detail+10 XP