Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Second-Highest by Facility

Health Care Solutions At HomeMediumSQL & Data Manipulation00:00
Health Care Solutions At Home
Your interviewer · Data Engineer
In session
Interviewer

Welcome to your interview for the Data Engineer role at Health Care Solutions At Home.

The question is on your right: Second-Highest by Facility. 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

Write a query to find the second-highest patient transaction amount within each healthcare facility using window functions for Health Care Solutions At Home.