Skip to main content
SQL โ€ข LESSON 117

IS NULL

How can we find records with missing manager assignments?

Advancedโฑ 3 Minutesโญ 1300 XP
๐Ÿค” THE QUESTION

How can we find records with missing manager assignments?

๐Ÿ’ก WHAT IS IT?

IS NULL tests whether a column contains missing or unassigned values.

๐ŸŽฏ WHAT IS IT USED FOR?

Finding unassigned accounts, top-level executives without managers, missing contact data.

๐Ÿ’ป EXAMPLE
SELECT name
FROM employees
WHERE manager_id IS NULL;

๐ŸŽฏ Mission Objectives

Practice typing production-grade SQL code for IS NULL.

  • โœ“ IS NULL
  • โœ“ Missing value detection
  • โœ“ Null checking
  • โœ“ Data auditing