Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Exercises with artists, museums and their pieces of art
Exercises with the band members table
Exercises with tables of Japanese 100 Yen store
Exercises with employees, salaries and benefits

Instruction

And here's our final table in this set.

Exercise

Select all data from the OrderItems table.

This is an associative table – it connects data from two tables: Orders and Products. That's how we know what items form an order.

It consists of the following columns:

  • OrderId – the id of the order a given product is part of,
  • ProductId – the id of the product itself,
  • Quantity – the quantity of the product in this order,
  • Price – the total price for the product in this order.