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!
Medical Center database
Non primary-foreign key JOINs
Non-equi JOINs
Non-equi self JOINs
22. Get to know the orders table


Okay, here comes the last table: orders.


Select all data from the orders table.

It contains only three columns:

  • order_id – the ID of a given order,
  • product_id – the ID of a given ordered product,
  • order_date – the date of a given order, and
  • amount – the amount of a given order.

Stuck? Here's a hint!


FROM orders