Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Medical Center database
Non primary-foreign key JOINs
Non-equi JOINs
Non-equi self JOINs
22. Get to know the orders table
Summary

Instruction

Okay, here comes the last table: orders.

Exercise

Select all data from the orders table.

It contains only three columns:

  • 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!

Type:

SELECT
  *
FROM orders