Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

LEFT JOIN vs INNER JOIN

Easy
EasySQL & Data Manipulationnull handlingJoinsData Wrangling
Asked 2mo ago|
American Express
American Express
Asked 5 times

Problem

Context

Join choice directly affects row counts, missing values, and business conclusions in analytics work. In card member and merchant reporting, using the wrong join can silently exclude important records.

Core question

Explain the difference between an INNER JOIN and a LEFT JOIN in PostgreSQL. You should describe what rows each join returns, how unmatched rows are handled, and how NULL values appear in the result. Use a simple example such as joining Amex card members to transactions or offers to redemptions.

Scope guidance

The interviewer is looking for a clear conceptual explanation rather than a complex query. A strong answer should define both joins, compare their outputs, explain when you would choose each one, and mention a common mistake such as filtering a LEFT JOINed table in the WHERE clause and accidentally turning it into an INNER JOIN.

Practicing as: Data Analyst interview at American Express

Hi, I'll play your American Express interviewer for the Data Analyst role. Candidates describe these interviews as mostly positive and moderately difficult, so expect me to be friendly and conversational. 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
Natixis Corporate & Investment Banking Data Analyst Interview QuestionsFitch Ratings Data Analyst Interview QuestionsAlten Nederland Data Analyst Interview QuestionsFitch Ratings Interview QuestionsTop 50 null handling Interview Questions
Next questions
RevolutLEFT JOIN vs INNER JOINEasyInfosysComparing Join Types in ReportingEasyBMC SoftwareTroubleshooting Missing Rows with JoinsEasy