SQL: find users active in both January and February.
Asked in the Round 1 (DSA + SQL + CS fundamentals) stage. Using the provided activity records for 2025, identify users with at least one activity in each month.
user_id and user_name.user_id ascending.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| user_name | VARCHAR(100) | Display name of the user |
| Column | Type | Description |
|---|---|---|
| activity_idPK | INT | Unique activity identifier |
| user_id | INT | User associated with the activity |
| activity_at | TIMESTAMP | Timestamp when the activity occurred |