Seven-Day Moving Average

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Daily order numbers jump around so much that the trend is hard to see, and your manager asks for a seven-day moving average. Explain how you'd calculate it in SQL and the traps to avoid.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →