Session Ready
Exercise

Costs

The C-level execs next tell Eve that they want a report on the total costs by eatery in the last two months.

First, write a query to get the total costs by eatery in November and December 2018, then pivot by month.

Note: Recall from Chapter 1 that total cost is the sum of each meal's cost times its stocking quantity.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Select the eatery and calculate total cost per eatery.
  • Keep only the records after October 2018.