Writes, optimizes, debugs, and explains SQL queries across PostgreSQL, MySQL, SQLite, and SQL Server. Handles joins, window functions, CTEs, indexes, and query plans. Use this skill when the user asks to "write a SQL query", needs help with joins/aggregations/window functions, wants to optimize a sl
Writes, optimizes, debugs, and explains SQL queries across PostgreSQL, MySQL, SQLite, and SQL Server. Handles joins, window functions, CTEs, indexes, and query plans. Use this skill when the user asks to "write a SQL query", needs help with joins/aggregations/window functions, wants to optimize a slow query, or asks to explain what a SQL statement does.