sql-query-generation · seb1n/awesome-ai-agent-skills

Turn plain-language questions into SQL queries

Translates natural-language business questions into SQL using joins, aggregations, window functions, CTEs, and subqueries matched to a given schema. Also reviews EXPLAIN plans and suggests indexing or restructuring when a query runs slowly.

Good for

  • Write a SQL query from a business question
  • Turn a schema and question into a JOIN query
  • Review an EXPLAIN plan for optimization ideas
Category
Research

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Given this schema, write a SQL query for total sales by region last quarter.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.