What problem does it solve?
This Skill assists users in writing, optimizing, and debugging SQL queries for various database systems, ensuring dialect-appropriate and safe query generation.
Core Features & Use Cases
- Intelligent Query Generation: Creates SQL queries based on natural language descriptions.
- Dialect Support: Adapts to PostgreSQL, Snowflake, BigQuery, Databricks, MySQL, and SQLite.
- Query Safety: Enforces rules like adding LIMIT clauses and quoting identifiers to prevent errors and security risks.
- Tool Integration: Leverages specific tools like
read_schema, get_table_data, and execute_query for accurate query development.
- Use Case: A user needs to find the top 5 customers by revenue in the last quarter. The AI uses
read_schema to understand the orders and customers tables, then execute_query with a safe SELECT statement including a LIMIT to retrieve the data.
Quick Start
Use the sql-queries skill to generate a safe SELECT query with a limit of 100 rows from the 'users' table.