← Walmart questions
CodingReported in a candidate post, Jul 2025

Employee name with ID and manager ID from a self-referencing table

Filed under Walmart

Given an Employee(id, name, manager_id) table where manager_id refers to another employee's id, write a SQL query that outputs each employee's name, ID and manager ID, and show how a self-join adds…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.