Patients in alphabetical order
The registrar is preparing a printed patient directory. Return each patient's first and last name. Sort the list first by last name, then by first name, both in ascending order.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| last_name | first_name |
|---|---|
| Brooks | Mary |
| Carter | Eve |
| Davis | John |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid