Univest wants a monthly activity report for its customers. Write a SQL query to count each customer's transactions during the previous calendar month.
customer_id, customer_name, and transaction_count.NULL timestamp are excluded from the count.transaction_count descending, then customer_id ascending.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer's full name |
| VARCHAR(255) | Customer email address |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| customer_id | INT | Customer associated with the transaction |
| transaction_at | TIMESTAMPTZ | Timestamp when the transaction occurred |