Write a query to find the month-over-month growth rate of active checking accounts at Axos Bank.
Use the account product type and monthly account status snapshots to calculate the metric. Include only months with a directly preceding month available for comparison. Rows with a NULL product type or status are ignored.
month_start, active_checking_accounts, prior_month_active_checking_accounts, and mom_growth_rate_pct.month_start ascending.| Column | Type | Description |
|---|---|---|
| account_idPK | INT | Unique bank account identifier |
| customer_id | INT | Axos Bank customer identifier |
| product_type | VARCHAR(30) | Banking product category |
| opened_date | DATE | Date the account was opened |
| Column | Type | Description |
|---|---|---|
| snapshot_idPK | INT | Unique account snapshot identifier |
| account_id | INT | Referenced bank account identifier |
| snapshot_date | DATE | Date of the account status snapshot |
| status | VARCHAR(30) | Account status recorded at the snapshot date |