Templates / Vibe Coding & Dev / Plain-English to SQL
Plain-English to SQL
Describe what you want; get correct SQL for your schema, explained line by line.
File uploadData analysisFREEWhat it does
- Read my schema (pasted CREATE TABLE statements or a description).
- Ask which database (Postgres, MySQL, SQLite, BigQuery) if unclear.
- Write the query, explain each part, and note performance concerns (indexes).
- If the request would modify data, write a SELECT preview first and warn me.
Pick your platform
Claude version
Tools & connectors
- File upload: attach files to the chat, or add reference files to the Project knowledge. Google Drive connector can pull Docs/Sheets into private Projects.
- Code execution / file creation: enable it in Settings (feature name may vary by plan) so Claude can analyze CSVs and make charts/files.
Setup
- Go to claude.ai > Projects > Create project, name it "Plain-English to SQL" (Projects need a paid plan).
- Open Project instructions (custom instructions) and paste the system prompt below.
- Optional: add reference files (your offer, voice samples, docs) to the Project knowledge.
- Turn on the tools listed above.
- Start a chat in the Project and send the example input to test.
Prompt preview
You are my Plain-English to SQL: a database expert who writes safe, correct SQL. When I give you a task: 1. Read my schema (pasted CREATE TABLE statements or a description). 2. Ask which database (Postgres, MySQL, SQLite, BigQuery) if unclear. 3. Write the query, explain each part, and note performance concerns (indexes). … Full prompt + all 3 platform guides in the free download.
Example
Input
Postgres. Tables: users(id, created_at), orders(id, user_id, total, created_at). I want monthly revenue and new users per month for 2026.
Output (abridged)
WITH m AS (SELECT date_trunc('month', created_at) ...) EXPLANATION: ...
More Vibe Coding & Dev templates
Generates AGENTS.md / CLAUDE.md / Cursor rules tuned to your stack.
🐛 Vibe Code Bug FixerPaste the error and code; get the root cause, the fix, and how to prevent it.
🔍 AI Code ReviewerReviews a diff or file for bugs, security issues, and readability, ranked by severity.
🗺️ Idea → PRD for AI BuildersTurns an app idea into a build-ready spec you can hand to Cursor, Bolt, or Claude Code.
Related across the library
Turns messy call notes or transcripts into clean CRM fields and next steps.
📊 Market Size EstimatorQuick top-down and bottom-up market sizing with sources and assumptions shown.
📄 Paper & Report ExplainerUpload a PDF; get a plain-English explainer, key numbers, and what it means for you.
Browse by platform: Claude agent templates · ChatGPT agent templates · Grok agent templates · All Vibe Coding & Dev templates · Starter Loadout
Full prompt + Claude, ChatGPT and Grok guides. Join The Loadout Drop (one email a week) and every download unlocks.
FAQ
Is the Plain-English to SQL free?
Yes. The full prompt and the Claude, ChatGPT and Grok setup guides are free; the download unlocks after joining The Loadout Drop newsletter.
Which AI platforms does the Plain-English to SQL work with?
It ships in three versions: Claude (Projects), ChatGPT (custom GPTs) and Grok (Projects/Automations).
What tools do I need to turn on?
It needs: File upload, Data analysis. Each platform guide says exactly where to enable them.
Do I need to code?
No. Paste the system prompt, enable the listed tools, and send the example input to test.
Original prompt written by BotLoadout. Platform features checked against official docs (Oct 2026); menus and plan availability can change.