A dashboard shows page views with a smoothing window. Daily metrics land in:
daily_metrics (
metric_date TEXT, -- 'YYYY-MM-DD', unique, no missing days
page_views INTEGER
)
Write a SQL query that returns each day's page views along with the rolling
average over the current day and the two previous days (fewer at the start of
the series), rounded to 2 decimal places.
Return columns: metric_date, page_views, rolling_avg.
Order by metric_date ASC.