Back Practice ↓

Related Practice & In-Depth Concepts

↑ Read lesson

Task:We need an itemized receipt for all orders. Write a query that returns the `users.name` (aliased as `customer`), the `orders.order_date`, the `products.name` (aliased as `product`), and the total cost for that line item (calculated as `quantity * unit_price` and aliased as `line_total`). You will need to join all four tables!
SQL Query Editor
No results returned. Press Run Query (or Cmd/Ctrl + Enter) to execute.