check if null value in sql code example
Example 1: find value if not null in sql
SELECT FIRST_NAME , MANAGER_ID
FROM EMPLOYEES
WHERE MANAGER_ID IS NOT NULL ;
Example 2: get null value in sql
SELECT * FROM EMPLOYEES
WHERE MANAGER_ID IS NULL ;
SELECT FIRST_NAME , MANAGER_ID
FROM EMPLOYEES
WHERE MANAGER_ID IS NOT NULL ;
SELECT * FROM EMPLOYEES
WHERE MANAGER_ID IS NULL ;