Chapter 4 · Aggregations
37. Earliest and Latest Doctor Hire Dates
Easy10 XPHealthcare
HR wants to know the tenure range of the medical staff. Return the earliest hire_date and the latest hire_date from the doctors table as min_hire_date and max_hire_date.
Tables
- PKidINT
- first_nameTEXT
- last_nameTEXT
- specialtyTEXT
- FKdepartment_id→ departments.idINT
- emailTEXT
- phoneTEXT
- hire_dateTEXT
- salaryREAL
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.