Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
2. Table stock_change
ROWS
RANGE
Default window frame
Summary

Instruction

Alright, another table.

Exercise

Select all the information from stock_change table.

A single row in stock_change means that either a given number of products left the warehouse, or were delivered to the warehouse.

You can find:

  • the id of the change,
  • the product_id,
  • the quantity (positive values mean delivery, negative values mean the products left the warehouse),
  • the changed when it happened.