Write a SQL query to calculate lead-to-opportunity conversion rate by marketing channel over time at Pluralsight.
Use the provided channels, leads, and opportunities data. Treat a lead as converted when it has at least one opportunity created on or after the lead creation date.
Output
- One row per marketing channel and lead-created month.
- Columns:
channel_name, month, lead_count, opportunity_count, and conversion_rate_pct.
- Include only months with leads, order by month ascending and channel name ascending, and calculate the rate as a percentage rounded to two decimal places.