Write a SQL query to find the top five customers with the highest volume of security logs over the last thirty days.
Use the customers and security_logs tables. Count only logs associated with a known customer and logged within the last thirty days.
customer_id, customer_name, and log_volume.log_volume descending, with customer_id ascending as the tie-breaker.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(150) | Customer display name |
| Column | Type | Description |
|---|---|---|
| log_idPK | INT | Unique security log identifier |
| customer_id | INT | Customer associated with the log |
| logged_at | DATE | Date the security log was recorded |
| log_source | VARCHAR(80) | Originating security monitoring source |