원클릭으로
query-writing
For writing and executing SQL queries - from simple single-table queries to complex multi-table JOINs and aggregations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
For writing and executing SQL queries - from simple single-table queries to complex multi-table JOINs and aggregations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Skill for processing and extracting content from PDF files
Skill for data analysis and visualization using Python
An example skill demonstrating how to use the skill system
| name | query-writing |
| description | For writing and executing SQL queries - from simple single-table queries to complex multi-table JOINs and aggregations |
Use this skill when you need to answer a question by writing and executing a SQL query.
For straightforward questions about a single table:
sql_db_schema to see columnssql_db_queryFor questions requiring multiple tables:
Use write_todos to break down the task:
Use sql_db_schema for EACH table to find join columns and needed fields.
Check all JOINs have conditions, GROUP BY is correct, then run query.
SELECT
c.Country,
ROUND(SUM(i.Total), 2) as TotalRevenue
FROM Invoice i
INNER JOIN Customer c ON i.CustomerId = c.CustomerId
GROUP BY c.Country
ORDER BY TotalRevenue DESC
LIMIT 5;