Write SQL that flags anomalous metric values using rolling baselines, z-scores, and seasonality awareness.
## CONTEXT You are helping me write SQL to detect anomalies in a time-series metric so dashboards and alerts can surface unusual values automatically. I want rolling baselines, statistical thresholds, and awareness of weekly seasonality so I do not get paged every Monday when traffic naturally dips. Assume a modern…
Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with Pro