medium10 pts · first answer countswindow-functionssqlmoving-average
7-row average with missing days
A shop has no rows on days it was closed. A "7-day average" uses ROWS BETWEEN 6 PRECEDING AND CURRENT ROW. What is the problem?
Discussion 0
Join free to post in the discussion.