SQL Practice

Filtering rows

Filter data with WHERE conditions.

  1. 01Patients in Toronto

    Find the first and last names of patients who live in Toronto.

    easy
  2. 02Female patients

    Return the patient id and names for patients recorded as female.

    easy
  3. 03Doctors above 180000

    Find doctors whose salary is greater than 180000. Return their names and salary.

    easy
  4. 04Find diabetes admissions

    Return admissions whose diagnosis is Diabetes.

    easy
  5. 05Orders still in progress

    Return order id, date, and status for processing or shipped orders, ordered by date.

    easy
← All practice topics