---
stable_id: skills/knowledge-work-plugins-data-skills-sql-queries-skill
type: skills
title: sql-queries
summary: Write correct, performant SQL across all major data warehouse dialects
  (Snowflake, BigQuery, Databricks, PostgreSQL, etc.). Use when writing queries,
  optimizing slow SQL, translating between dialects, or building complex
  analytical queries with CTEs, window functions, or aggregations.
tags:
  - source-knowledge-work-plugins
  - plugin-data
  - plugin-component-skills
  - plugin-skill
  - category-data-analytics
source_url: https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/data/skills/sql-queries/SKILL.md
license: ""
upstream_ref: https://github.com/anthropics/knowledge-work-plugins/blob/main/data/skills/sql-queries/SKILL.md
github_stars: null
github_forks: null
github_is_organization: null
retrieved_at: 2026-06-11T08:31:54.931Z
content_sha256: dbd5a5e2d563d83ca6d4d033206f285f503296eabff4a35545cdb4cb5302bd9a
---
