Medical Center database
3. Get to know the therapy table
Non primary-foreign key JOINs
Non-equi JOINs
Non-equi self JOINs
Summary

Instruction

Great! The next table contains information about the therapies that take place at a given medical center.

Exercise

Select all data from the therapy table. It consists of the following columns:

  • id – the ID of a given therapy session,
  • patient_id – the ID of the patient attending a given therapy session,
  • physician_id – the ID of the specialist leading a given therapy session, and
  • treatment_type – the treatment type of a given therapy.

Stuck? Here's a hint!

Type:

SELECT
  *
FROM therapy

Console

Code editor

Result

TableConsole