Write a query to find the month-over-month growth rate of loan originations by marketing channel at Prosper Marketplace.
Use the origination amount and origination timestamp. Exclude records that cannot be associated with a recognized marketing channel.
channel_name, originations_month, total_originations, mom_growth_rate.NULL.| Column | Type | Description |
|---|---|---|
| channel_idPK | INT | Unique marketing channel identifier |
| channel_name | VARCHAR(100) | Prosper Marketplace marketing channel name |
| Column | Type | Description |
|---|---|---|
| origination_idPK | INT | Unique loan origination identifier |
| channel_id | INT | Marketing channel associated with the origination |
| originated_at | TIMESTAMP | Timestamp when the loan was originated |
| origination_amount | DECIMAL(14,2) | Loan amount originated |