McAfee wants to identify users with the highest recent data consumption. Write a SQL query that calculates each user's total data usage during the 30-day period ending on September 15, 2026, and returns the top 10% of users.
user_id, username, total_usage_bytes, and usage_rankuser_idusage_rank, then user_id; rank ties deterministically by ascending user_idusage_bytes contribute nothing to a user's total| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique McAfee user identifier |
| username | VARCHAR(100) | User display name |
| VARCHAR(255) | User email address |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique usage event identifier |
| user_id | INT | User associated with the usage event |
| event_timestamp | TIMESTAMP | Time when the data usage occurred |
| usage_bytes | BIGINT | Bytes used during the event |