NeLocker
☰
Library
Free Prompts
Pricing
Supporters
Our Stance
💡
Want a prompt that isn't here?
Tell us — we build the vault around you.
Suggest a prompt
×
← NeLocker vault
SQL From Plain English
Turns a question into correct, readable SQL — and explains it.
Universal
Claude
ChatGPT
Gemini
Grok
💡 The original prompt — works in any model. Start here, then tune per model.
Fill in the blanks — your answers carry across every model
Question
Schema
Dialect
Write SQL for this question. Be correct and readable. Question: {QUESTION} Tables + columns (schema): {SCHEMA} Dialect: {DIALECT} Return: 1. The query, formatted and commented where it's non-obvious. 2. One sentence on what it returns. 3. Any assumption you had to make about the data. 4. A gotcha to watch for (nulls, duplicates, timezones, etc.). If the question is ambiguous, give the most likely interpretation and note the alternative.
📋 Copy
↩ Reset
fill the blanks above ↑
💬
Subscribe
to read & share member tweaks for this prompt.