Explain how you would fill missing dates with zero counts using a date spine and cross join logic.
Return one row per calendar date in the requested range, including dates with no matching activity. Use the provided tables to produce daily counts with zeros where needed.
activity_date, event_countevent_count = 0activity_date ascending| Column | Type | Description |
|---|---|---|
| event_idPK | BIGINT | Unique event identifier |
| event_date | DATE | Date the event occurred |
| event_type | VARCHAR(50) | Type of event |
| user_id | BIGINT | User associated with the event |