Code Task DeepSeek
20 Mar 2026

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 Text:
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.
73 views
User Discussion (0)
You must log in to post a comment.

No comments posted yet. Be the first to leave feedback!

Item Statistics
Likes: 0
Views: 73
Replies: 0
Published: 20 Mar 2026