SQL Query Writing

Writes a correct, readable and index-friendly SQL query for a stated question in the target database dialect: clarifies grain and join cardinality, handles NULLs, duplicates and time zones, uses sargable predicates and parameters, and states the indexes it relies on and how to verify results. Use when someone needs a query for a report, feature, data fix or investigation, asks to translate a question into SQL, or wants an existing query rewritten for correctness or readability.

muratdincer Updated

File contents

muratdincer/ai-skills commit 6f2404898b

Frequently asked questions

npx get-skill add muratdincer/sql-query-writing