Best For
- Starting from a structured, reusable prompt instead of a blank chat.
- Adapting the prompt to your own inputs while keeping the original intent intact.
- Workflows related to Data & Excel.
Constructs optimized SQL queries based on natural language requirements.
Act as a senior database administrator. Write a SQL query for {{Database: PostgreSQL, MySQL, SQLite, Oracle, SQL Server}}. Context/Schema: {{Schema: if used in an AI agent use the current project}}. Goal: {{Goal: e.g. Find all users who signed up in the last 30 days}}. Optimize for performance.
PostgreSQL, MySQL, SQLite, Oracle, SQL Server
if used in an AI agent use the current project
e.g. Find all users who signed up in the last 30 days
Act as a senior database administrator. Write a SQL query for PostgreSQL. Context/Schema: if used in an AI agent use the current project. Goal: e.g. Find all users who signed up in the last 30 days. Optimize for performance.
Variables are wrapped in {{ and }} and follow this pattern:
A selection can reference a predefined variable list using square brackets. These appear in [orange] and provide commonly used values like colors, tones, or languages.
You can also provide an inline list of choices separated by commas.
Tip: You don't need the PUCO app to use these prompts! Simply copy the template and replace each {{…}} section with your own text directly in ChatGPT, Claude, Gemini, or any other AI assistant.