What problem does it solve?
Writing SQL that works consistently across different data warehouse platforms is time-consuming and error-prone, as each dialect has unique syntax for common operations like date manipulation, string functions, and JSON handling. This Skill eliminates that friction by providing centralized, dialect-specific reference material and pre-built common query patterns.
Core Features & Use Cases
- Dialect-Specific Syntax References: Complete cheat sheets for 5 major data warehouses covering date/time operations, string functions, JSON/array handling, and platform-specific performance best practices.
- Pre-Built Common Patterns: Ready-to-use templates for high-frequency analytical tasks including window functions, CTE-based readable queries, cohort retention analysis, funnel analysis, and record deduplication.
- Error Handling Guidance: Step-by-step troubleshooting for common SQL failures like syntax errors, type mismatches, ambiguous columns, and division by zero.
- Use Case Example: A data analyst building a monthly retention report for their Snowflake data warehouse can use this Skill to write a compatible cohort query in minutes instead of manually looking up Snowflake-specific date truncation and join syntax.
Quick Start
Use the sql-queries skill to write a performant cohort retention query compatible with your company's Snowflake data warehouse.