Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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.