Back Practice ↓

Related Practice & In-Depth Concepts

↑ Read lesson

Task:Write a query that uses a CTE named `order_summaries` to calculate the total value of each order (`order_id`, `order_total`). Then, write an outer query that SELECTs from `order_summaries` to find the average of those order totals.
SQL Query Editor
No results returned. Press Run Query (or Cmd/Ctrl + Enter) to execute.