Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

SQL Week-Over-Week Change Ranking

Medium
MediumSQL & Data ManipulationWindow FunctionsLag/LeadRanking

Problem

How would you use SQL to compare each region's current-week metric to its previous-week value and rank the regions by change?

Practicing as: Data Scientist interview at Orbital Insight

Hi, I'll play your Orbital Insight interviewer for the Data Scientist role. Candidates describe these interviews as mixed and moderately difficult, so expect me to be professional and fair. 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
Orbital Insight Data Scientist Interview QuestionsOrbital Insight Interview Questions
Next questions
AirbusSQL Week-Over-Week ComparisonHardLargest Week-Over-Week Change in SQLMediumNational GridLargest Week-Over-Week Demand ChangeMedium