SQL Query Generator

Create optimized SQL queries with this AI prompt, adhering to Joe Celko's SQL Programming Style for readability and performance.

What this prompt does

  • Assists in crafting production-ready SQL queries that adhere to industry standards.
  • Ensures queries are optimized for performance and maintainability.
  • Follows Joe Celko's SQL Programming Style to prevent future maintenance issues.

How to use this prompt

  1. Run the full prompt and answer the questions as detailed as possible.
  2. Example: "My database schema includes tables for employees, departments, and salaries. I need a query that retrieves employee names and their department names, optimized for a database with over 10 million records."

Premium prompt — included in the Complete AI Bundle. Part of the Coding prompts collection in the God of Prompt library.

Related Coding prompts