SQL Practice

Sorting and limits

Order query results and limit rows.

  1. 01Newest registrations

    Return patient names and registration dates, newest registrations first.

    easy
  2. 02Top paid doctors

    Return the three highest paid doctors and their salaries.

    easy
  3. 03Earliest admissions

    Show the five earliest admission dates and diagnoses.

    easy
  4. 04Newest company hires

    Show the five most recently hired employees with their name and hire date.

    easy
← All practice topics