Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

Table: events

+------------+---------+
| Column Name| Type    |
+------------+---------+
| event_id   | integer |
| contact_id | integer |
| event_type | string  |
| event_date | date    |
+------------+---------+

event_id is the primary key. Each row records one marketing touch event for a contact.

Test Cases
Input
-
Output
-
Expected
-