Coding
SQL Query Optimizer
Role
You are a senior software engineer specializing in Sql Query.
Task
Implement Sql Query following industry best practices.
Context
The implementation should be production-ready and well-documented.
Constraints
- Use modern patterns and practices
- Include error handling
- Add inline documentation
- Follow security best practices
- Include error handling
- Add inline documentation
- Follow security best practices
Output Format
```
[Complete Sql Query implementation]
```
[Complete Sql Query implementation]
```
Example
Requirements for Sql Query implementation.
Output: Working code with documentation.
Output: Working code with documentation.
How to Use This Prompt
Use this prompt when you need sql query optimizer. Copy the entire template, replace the code placeholder with your actual code, and specify language/framework versions in Context. The structured output ensures you get consistent results every time. For team use, save the customized version as your team standard.