Employees with more than two dependents using two unrelated tables
Filed under Airtel
The question
Given Employees and Dependents tables with no relationship, print employees with more than two dependents, then print them along with the dependents. The candidate first added an employee-id foreign key to Dependents and then wrote both queries with an inner join.
No write-up yet. Related questions below have one.
Related Airtel questions
Collected from public candidate posts and coding forums. Updated Nov 2026.