Intuit wants a simple monthly view of SMB engagement across product events. Write a SQL query to calculate the average number of active SMBs per active week in each month.
account_type = 'SMB'.event_name is NULL.smb_id values as active SMBs.YYYY-MM and the average rounded to 2 decimal places.| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique event row identifier |
| smb_id | INT | SMB account identifier |
| account_type | VARCHAR(20) | Customer segment |
| product_name | VARCHAR(50) | Product where the event occurred |
| event_name | VARCHAR(50) | Tracked user action |
| event_date | DATE | Date the event occurred |