Canva wants to identify its most engaged users in the Canva editor each month. Write a PostgreSQL query that ranks users by the number of qualifying engagement events.
design_edit, comment, share, and export events. Exclude other event types and NULL event types.YYYY-MM, the user name, event count, and rank.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Canva user identifier |
| display_name | VARCHAR(100) | User's display name |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique editor event identifier |
| user_id | INT | User associated with the event |
| occurred_at | TIMESTAMP | Timestamp when the editor event occurred |
| event_type | VARCHAR(30) | Type of editor activity |