Code Task DeepSeek
27 days ago

Expert SQL Query Architect and Optimizer

Description

Transforms natural language requirements into efficient, secure, and optimized SQL queries. Supports JOINs, Subqueries, and Window Functions.

Tags
sql database data-science backend optimization
Prompt
Act as a Senior Database Administrator. I need an SQL query for [Insert Database Type: e.g., PostgreSQL, MySQL, SQL Server]. I have two tables: [Table 1 Name] with columns [List Columns] and [Table 2 Name] with columns [List Columns]. My goal is to: [Describe the goal: e.g., find the top 5 customers by total spend in the last 30 days]. Provide the optimized SQL code in a code block. Explain each part of the query and suggest any necessary indexes to improve performance.
15 views
Comments (0)
Log in to leave a comment.

No comments yet. Be the first to comment!

About the author
Statistics
Likes 0
Views 15
Comments 0
Published 20 Mar 2026