Top 50 data relationships Interview Questions
The most frequently asked data relationships questions across all roles and companies, ranked by real interview frequency. Updated daily.
Find Flipkart customers with no orders in the prior six months using a LEFT JOIN and date-filtered aggregation.
Flipkart
PNC Financial Services GroupUse a self-join to return each mutual follower pair once, with the lower user ID first.
Bee Robotics
SupermicroUse CTEs and conditional aggregation to find Meta users with at least three items on both their first and last transaction days.
MetaPair every Pool A team with every Pool B team and format each matchup as Team A vs Team B.
AltimetrikUse a self-join to return unique pairs of customers who share the same non-null city and country.
PhonepeUse joins and COUNT(DISTINCT) to find Janus Henderson Investors parents linked to multiple students.
Janus Henderson InvestorsUse joins and ROW_NUMBER to find the earliest defect created after every deployment.
Apex SystemsUse monthly cohort logic to find users with no transaction in the calendar month after their first transaction month.
ServiceTitanSign up to see every question
Create a free account to unlock this list and practice real interview questions.