Pinterest wants to understand which Pin categories resonate most with users who recently joined the platform. Write a PostgreSQL query to find the three most-saved Pin categories among users whose Pinterest accounts were created in the last 30 days, using 2026-08-29 as the current date.
signup_date from 2026-07-30 through 2026-08-29, inclusive. Exclude saves whose Pin has no category.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Pinterest user identifier |
| username | VARCHAR(100) | Display username |
| signup_date | DATE | Date the user created a Pinterest account |
| Column | Type | Description |
|---|---|---|
| pin_idPK | INT | Pin identifier |
| title | VARCHAR(200) | Pin title |
| category | VARCHAR(80) | Content category assigned to the Pin |
| Column | Type | Description |
|---|---|---|
| save_idPK | INT | Save event identifier |
| user_id | INT | User who saved the Pin |
| pin_id | INT | Pin that was saved |
| saved_at | TIMESTAMP | Timestamp of the save event |