sql-queries

Generate SQL queries from natural language across BigQuery, PostgreSQL, and MySQL dialects.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/KoryakinYurij/Self-Sustain-System --skill sql-queries-koryakinyurij
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sql-queries
Source: https://github.com/KoryakinYurij/Self-Sustain-System/tree/main/Skill%20Creation/research/pm-skills/pm-data-analytics/skills/sql-queries
Command: npx skills add https://github.com/KoryakinYurij/Self-Sustain-System --skill sql-queries-koryakinyurij

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill transforms natural language descriptions into optimized SQL queries, eliminating the need for manual SQL syntax and improving data accessibility for various database platforms.

Core Features & Use Cases

  • Natural Language to SQL: Convert plain English requests into executable SQL queries.
  • Multi-Dialect Support: Generates queries for BigQuery, PostgreSQL, MySQL, Snowflake, and more.
  • Schema Awareness: Reads and utilizes database schemas from provided files or descriptions for accurate query generation.
  • Use Case: A product manager needs to understand user engagement trends. They can describe the desired data (e.g., "users who signed up in the last 30 days and had at least 5 active sessions") and the Skill generates the appropriate SQL query.

Quick Start

Upload your database_schema.sql file and say: "Generate a query to find users who signed up in the last 30 days and had at least 5 active sessions".

Frequently Asked Questions about sql-queries

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate SQL queries from natural language text?

To generate SQL queries from natural language, you describe your data request in plain English and the tool outputs executable SQL. It converts text descriptions into optimized syntax across multiple dialects like PostgreSQL, MySQL, and BigQuery.

Can I generate PostgreSQL and BigQuery SQL from the same natural language request?

Yes, you can generate PostgreSQL and BigQuery SQL from the same natural language request. This multi-dialect support translates plain English descriptions into optimized syntax tailored for specific database platforms like Snowflake and MySQL.

How do I use my database schema to create accurate SQL for data exploration?

To use your database schema for accurate SQL data exploration, upload your database_schema.sql file or documentation. The tool reads the provided schema structure to generate queries that accurately match your table and column names.

Does natural language to SQL generation work without knowing my exact table structures?

Natural language to SQL generation works best with schema awareness. While it can translate plain English requests, providing uploaded schema files or descriptions ensures the generated queries feature accurate table names, columns, and relationships.

What is the best way to write data analysis queries without manual SQL syntax?

The best way to write data analysis queries without manual SQL syntax is using natural language generation. You describe the desired data metrics, such as user engagement trends, and the system outputs optimized, executable reporting queries.