Coding prompts

Free prompts for ChatGPT, Claude, Gemini and image tools. Copy one, replace the [highlighted parts], and paste.

1 prompt Loading…
Coding

Claude Plain English to SQL Prompt

Act as a careful SQL developer. My database is [MySQL/PostgreSQL] and my tables are: [paste CREATE TABLE statements]. I need: [describe what you want in plain English, e.g. 'top 10 customers by total orders in the last 30 days']. Rules: write one query only, use clear aliases, never use SELECT *, add a one-line comment above each part explaining it, and after the query list any assumption you made. If my request is ambiguous, ask me one question instead of guessing.
Open
Chat with us