Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Self-Join Record Comparison

BarbaricumMediumSQL & Data Manipulation00:00
Barbaricum
Your interviewer · Data Analyst
In session
Interviewer

Welcome to your interview for the Data Analyst role at Barbaricum.

The question is on your right: Self-Join Record Comparison. 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 use self-joins to compare records within the same table?