Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
4. Get to know the members table
Exercises
Correlated Subqueries

Instruction

Here's the last table we'll be working with – members. This table contains information about a few selected members of orchestras, and consists of the following columns:

  • id – the ID of a given member.
  • name – the name of a given member.
  • position – the position of a given member in an orchestra.
  • wage – the fixed monthly payment a given musician receives.
  • experience – the number of years of experience a given musician has.
  • orchestra_id – the ID of the orchestra in which a given musician works.

Exercise

For each orchestra select its name and the number of members in this orchestra (name the column members_count).