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

Table: events

+------------+---------+
| Column Name| Type    |
+------------+---------+
| user_id    | int     |
| pin_id     | int     |
| event_date | date    |
| event_type | varchar |
+------------+---------+

Table: users_d

+-------------+---------+
| Column Name | Type    |
+-------------+---------+
| user_id     | int     |
| signup_date | date    |
| country     | varchar |
+-------------+---------+

Table: pins_classification

+-------------+---------+
| Column Name | Type    |
+-------------+---------+
| pin_id      | int     |
| pin_format  | varchar |
+-------------+---------+

user_id is the primary key of users_d. pin_id is the primary key of pins_classification.

Test Cases
Input
-
Output
-
Expected
-