sql-queries
Generates SQL from plain-language questions for BigQuery, PostgreSQL, MySQL and other dialects, and can read schemas from uploaded diagrams or documents.
- Kind
- Skill
- Works with
- Claude Code, Cursor
- Languages
- SQL
- Source
- PM Skills (Pawel Huryn) @ 2a12295a7717
- Path
- pm-data-analytics/skills/sql-queries/SKILL.md
- Jobs
- Implementation
- Topics
- Data analysis & BI
Credit
- Made by
- phuryn
- Original
- github.com/phuryn/pm-skills/blob/2a12295a7717569baa7be181b4cf…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallInstall it from a plugin marketplace.
claude plugin install pm-data-analytics@pm-skills
Install factsScanned 2 Nov 2026
- Adds
- .claude/skills/sql-queries/ (the skill folder)
- Runs scripts
- None found
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 2a12295a7717
- Licence
- MIT
- Last activity
- 29 Oct 2026
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- Only the main file is read; other files in the folder are not scanned
# SQL Query Generator ## Purpose Transform natural language requirements into optimized SQL queries across multiple database platforms. This skill helps product managers, analysts, and engineers generate accurate queries without manual syntax work. ## How It Works ### Step 1: Understand Your Database Schema - If you provide a schema file (SQL, documentation, or diagram description), I will read and analyze it - Extract table names, column definitions, data types, and relationships - Identify primary keys, foreign keys, and indexing strategies ### Step 2: Process Your Request - Clarify the exact data you need to retrieve or analyze - Confirm the SQL dialect (BigQuery, PostgreSQL, MySQL, Snowflake, etc.) - Ask for any additional requirements (filters, aggregations, sorting) ### Step 3: Generate Optimized Query - Write efficient SQL that leverages your database structure - Include comments explaining complex logic - Add performance considerations for large datasets - Provide alternative approaches if applicable ### Step 4: Explain and Test - Explain the query logic in plain English - Suggest how to test or validate results - Offer tips for performance optimization …