What problem does it solve?
This Skill eliminates the common pain points of writing SQL that fails across different data warehouse platforms, avoids dialect-specific syntax errors, and ensures queries are both performant and maintainable for analytics and data engineering teams.
Core Features & Use Cases
- Multi-Dialect Reference: Includes syntax and best practices for PostgreSQL, Snowflake, BigQuery, Redshift, and Databricks SQL covering date/time operations, string functions, JSON/array handling, and platform-specific performance optimizations.
- Pre-Built Common Patterns: Provides ready-to-use templates for window functions, CTEs, cohort retention analysis, funnel analysis, and record deduplication that can be adapted to any supported dialect.
- Error Handling Guidance: Offers troubleshooting steps for common SQL failures including syntax errors, type mismatches, division by zero, and ambiguous column issues.
- Use Case Example: An analytics engineer building a monthly active user report can use the pre-built cohort pattern and dialect-specific date functions to write a single query that works on both Snowflake and BigQuery without rewriting core logic.
Quick Start
Use the sql-queries skill to write a performant funnel analysis query for your e-commerce events table that calculates conversion rates between page view, signup start, signup complete, and first purchase steps, compatible with Snowflake syntax.