Turing's Product Growth team wants to compare acquisition efficiency across marketing channels during January 2025. Write a PostgreSQL query that identifies the top three eligible channels using customer acquisition cost, or CAC, and conversion rate.
| Column | Type | Description |
|---|---|---|
| channel_idPK | INT | Marketing channel identifier |
| channel_name | VARCHAR(100) | Marketing channel name |
| Column | Type | Description |
|---|---|---|
| spend_idPK | INT | Spend record identifier |
| channel_id | INT | Referenced marketing channel |
| spend_date | DATE | Date on which spend was recorded |
| amount | NUMERIC(12,2) | Marketing spend amount |
| Column | Type | Description |
|---|---|---|
| lead_idPK | INT | Lead identifier |
| channel_id | INT | Channel that acquired the lead |
| signup_date | DATE | Date the lead signed up |
| converted_at | DATE | Date the lead converted, or null if not converted |