Business & Strategy
Natural Language to SQL
Translate questions to SQL
The prompt
Translate my plain English question into a SQL query. Make sure I understand the logic, handle any ambiguity in my question by asking clarifying questions, and optimize the query for the database structure I describe.
How to use it
Copy the prompt, paste it into ChatGPT, Claude, Gemini or Perplexity, and replace anything in brackets with your own details. The more context you add about your situation, the better the answer.
- sql
- beginner
