Write a SQL query to retrieve data from a table based on a condition.
Use the appointments table and return only records whose status is Completed. Include the requested columns and present the matching appointments in chronological order, with appointment ID resolving ties.
appointment_id, patient_name, status, and appointment_date.appointment_date ascending, then appointment_id ascending.| Column | Type | Description |
|---|---|---|
| appointment_idPK | INT | Unique appointment identifier |
| patient_name | VARCHAR(100) | Patient name |
| status | VARCHAR(30) | Appointment status |
| appointment_date | DATE | Scheduled appointment date |
| provider_name | VARCHAR(100) | Assigned provider |