Describe the query
State the tables, columns, and the result — e.g. "total revenue per customer in 2025, sorted high to low". Mention your SQL dialect so functions and quoting match.
Explain and debug
Paste an existing query to get a plain-language explanation, or share the error message to get a fix.