Write a SQL query to identify patients who have missed two consecutive clinical visits based on this event log table.
Use only rows representing clinical visits. Consecutive means adjacent scheduled clinical visits for the same patient when ordered chronologically.
patient_id, first_missed_visit_date, and second_missed_visit_date.patient_id.| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique event identifier |
| patient_id | INT | Patient associated with the event |
| event_type | VARCHAR(50) | Type of recorded event |
| visit_date | DATE | Scheduled date of the clinical visit |
| visit_status | VARCHAR(30) | Outcome status of the visit |