Anonymous · shared experience1 Oct 2025 · 7 views
Amdocs: Write a query joining three tables with an inner join and a self join
Problem. In a Java developer interview, a dedicated SQL interviewer asked for a query that joins three tables, using both an inner join and a self join.
Context. It came with scenario-based SQL questions, and the interviewers cross-questioned answers to test confidence.
What to prepare. A classic self join is an employee table joined to itself to find each person's manager, then inner joined to a department table. Be clear on aliases, join conditions and what happens to rows with no match.
Comments 0
No comments yet. Ask the author something, or add what happened in your own round.