Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Top 10 Customers with Window Functions

Point32HealthHardSQL & Data Manipulation00:00
Point32Health
Your interviewer · Data Scientist
In session
Interviewer

Welcome to your interview for the Data Scientist role at Point32Health.

The question is on your right: Top 10 Customers with Window Functions. Take a moment with it first.

Talk your thinking through with me if you like - when you're confident, submit your answer and I'll grade it like a real screen. You have three graded attempts to score 7/10 or better.

Only Submit answer is graded - discussion is free practice.

Problem

How would you write a SQL query to find the top 10 customers by sales using window functions and tie-breaking rules?