Write a query utilizing aggregate functions and GROUP BY to find the top five travel destinations by search volume in the last 30 days.
Use the provided destination and search tables. Treat each search record as one unit of search volume and exclude searches without a recognized destination.
destination_name and search_volume.search_volume descending, then destination_name ascending to break ties.| Column | Type | Description |
|---|---|---|
| destination_idPK | INT | Unique identifier for a travel destination. |
| destination_name | VARCHAR(100) | Display name of the travel destination. |
| Column | Type | Description |
|---|---|---|
| search_idPK | INT | Unique identifier for a destination search. |
| destination_id | INT | Destination searched for, when the search was successfully associated with one. |
| searched_at | TIMESTAMP | Timestamp when the destination search occurred. |