Given a table of message exchanges between Omada Health coaches and members, find the average response time for coaches, grouping by the day of the week.
Treat a coach message as a response only when the immediately preceding message in the same conversation was sent by a member. Ignore messages with a NULL sent_at value.
day_of_week and average_response_minutes, rounded to two decimal places.sent_at value are ignored.| Column | Type | Description |
|---|---|---|
| message_idPK | INTEGER | Unique identifier for the message |
| conversation_id | VARCHAR(100) | Identifier for the coach-member conversation |
| sender_type | VARCHAR(100) | Role of the message sender |
| sent_at | TIMESTAMP | Timestamp when the message was sent |