Patient and admission dates
mediumList patient names with each admission and discharge date, ordered by admission date.
Hospital Database · SQLite
Run your SQL answer to see the returned rows and check it.
SELECT p.first_name, p.last_name, a.admission_date, a.discharge_date FROM patients p JOIN admissions a ON p.patient_id = a.patient_id ORDER BY a.admission_date;