Back Practice ↓

Related Practice & In-Depth Concepts

↑ Read lesson

Task:The accounting team wants to know the total revenue generated from all items ever sold. Write a query to calculate the sum of `(quantity * unit_price)` across all rows in the `order_items` table. Alias the result as `total_revenue`.
SQL Query Editor
No results returned. Press Run Query (or Cmd/Ctrl + Enter) to execute.