Find Employees Without Manager ID Column

Find employees who do not have a manager.

sql

SELECT id, name FROM employees WHERE manager_id IS NULL;

This query selects the "id" and "name" from the "employees" table for all records where the "manager_id" column contains a NULL value, indicating the absence of a manager.

PromptDB can make mistakes. Please double-check responses.