Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

SQL: 7-Day Rolling Average

Medium
MediumSQL & Data ManipulationWindow FunctionsDate FunctionsRunning Totals
Asked 2mo ago|
CVS Health
CVS Health
Asked 1 times

Problem

Given a table of daily store transactions, write a SQL query to calculate a 7-day rolling average of sales by store.

Practicing as: Operations Manager interview at CVS Health

Hi, I'll play your CVS Health interviewer for the Operations Manager role. Candidates describe these interviews as mostly positive and moderately difficult, so expect me to be friendly and conversational. Take your time with the question above and answer like we're in the room.

Take this as a live interview session →

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Next questions
Syngenta DigitalSQL 7-Day Rolling AverageMediumCitiSQL 7-Day Rolling AverageMediumPA ConsultingSQL Rolling Average with Window FunctionsMedium