What problem does it solve? Writing efficient SQL for modern cloud databases, data warehouses, and hybrid OLTP/OLAP systems requires deep expertise in query optimization, indexing, and schema design that most developers lack time to master. ## Core Features & Use Cases - Query Optimization: Analyze execution plans, design index strategies, and tune queries for platforms like Snowflake, BigQuery, PostgreSQL, and Aurora. - Schema & Data Modeling: Design normalized schemas, star/snowflake models, and slowly changing dimensions for transactional and analytical workloads. - Cloud Database Architecture: Plan multi-region replication, migrations, partitioning, and cost optimization for cloud-native databases. - Use Case: You have a slow analytical query scanning a billion-row table in Snowflake. Use this Skill to inspect the query plan, apply partitioning and clustering keys, and rewrite the query with window functions to cut execution time dramatically. ## Quick Start Ask the assistant to optimize your slow SQL query by pasting the query text along with the table schema and target database platform.