The SQL Cookbook skill transforms Claude into a senior data engineer capable of generating high-performance SQL for any major analytical platform. It provides a comprehensive reference for platform-specific syntax, including specialized handling for semi-structured data, window functions, and complex CTEs. Whether you are migrating logic between Snowflake and BigQuery or building sophisticated cohort retention and funnel analysis queries, this skill ensures your code is idiomatic, efficient, and tailored to the nuances of your specific database engine.
主要功能
01Standardized templates for complex window functions and rolling aggregations
02Expert handling of JSON, VARIANT types, and nested array structures
03Dialect-specific performance tuning and optimization strategies
0453 GitHub stars
05Cross-platform syntax translation for Snowflake, BigQuery, PostgreSQL, Redshift, and Databricks
06Advanced analytical patterns for funnel measurement, cohort retention, and deduplication
使用场景
01Troubleshooting and refactoring slow-running queries using platform-specific execution plan guidance
02Migrating complex legacy SQL scripts to modern cloud data warehouses with dialect-specific optimizations
03Developing advanced product analytics queries like user retention and multi-step conversion funnels