SQL Query to Find Employees in Same City as Manager
Filed under Microsoft
The question
Given an employee table with employee ID, manager ID, city, and name, write a query to list all employees who reside in the same city as their manager.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.