Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Use Self-Join to Compare Rows

Blue Cross and Blue Shield of AlabamaMediumSQL & Data Manipulation00:00
Blue Cross and Blue Shield of Alabama
Your interviewer · Research Analyst
In session
Interviewer

Welcome to your interview for the Research Analyst role at Blue Cross and Blue Shield of Alabama.

The question is on your right: Use Self-Join to Compare Rows. 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 a self-join to compare rows within the same table?