sql-queries

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

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/bowiemax/pm-skills --skill sql-queries-bowiemax
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sql-queries
Source: https://github.com/bowiemax/pm-skills/tree/main/pm-data-analytics/skills/sql-queries
Command: npx skills add https://github.com/bowiemax/pm-skills --skill sql-queries-bowiemax

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of SQL queries from natural language descriptions, simplifying database interaction and data retrieval for users of varying technical expertise.

Core Features & Use Cases

  • Multi-Dialect Support: Generates queries for BigQuery, PostgreSQL, MySQL, Snowflake, and SQL Server.
  • Schema Awareness: Reads and understands database schemas from uploaded files or descriptions to write accurate queries.
  • Use Case: A product manager needs to understand user engagement trends. They can describe the required data in plain English, and the skill will generate the appropriate SQL query to retrieve it from the database.

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 across different database dialects?

To generate SQL queries from natural language, you provide a plain English description of your data needs. The system translates your text into executable SQL queries tailored for specific database dialects like BigQuery, PostgreSQL, MySQL, and Snowflake.

How do I ensure generated SQL queries match my exact database schema?

Ensuring generated SQL queries match your schema requires uploading a database_schema.sql file or providing a textual schema description. The system parses this input to understand your table structures, ensuring the output queries are accurate and relevant to your database.

Can I use natural language query generation for BigQuery and Snowflake?

Yes, you can use natural language query generation for BigQuery and Snowflake. The system supports multiple database dialects including BigQuery, PostgreSQL, MySQL, Snowflake, and SQL Server, allowing you to retrieve data across these platforms.

What is the best way to translate business questions into executable SQL?

The best way to translate business questions into executable SQL is by describing the required data in plain English. The system automates this process, taking your business requirements and generating the appropriate SQL query to retrieve the specific data.

Does natural language to SQL conversion work without knowing technical SQL syntax?

Natural language to SQL conversion works without knowing technical SQL syntax. It simplifies database interaction for users of varying technical expertise, allowing product managers to explore databases and build data reports using plain English descriptions.