ワンクリックで
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 ページを確認してインストールできます。
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
SOC 職業分類に基づく
| 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;