Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
3. Table product
CTEs with data modifying statements


OK. Now the second table: product. It contains product details about items sold in the grocery stores.


Select all information from the product table. This table consists of columns:

  • id – identifier for product/grocery store combination,
  • name – name of the product,
  • price – price of the product,
  • grocery_store_id – id of grocery store in which the product is stocked.