Skip to main content
All Problems
medium0% acceptance

Doctors with Department Names

Create a staff directory showing each doctor's full name, specialty, and their department name. Sort by department name then by last name.

Schema

🔑idINT
first_nameTEXT
last_nameTEXT
specialtyTEXT
🔗department_idINT
emailTEXT
phoneTEXT
hire_dateTEXT
salaryREAL
postgresql

Run your query to see results

Press Ctrl + Enter to execute