when to use null in sql code example
Example 1: get null value in sql
SELECT * FROM my_table WHERE col1 IS NULL;
Example 2: get null data in sql
SELECT * FROM EMPLOYEES
WHERE MANAGER_ID IS NULL ;
SELECT * FROM my_table WHERE col1 IS NULL;
SELECT * FROM EMPLOYEES
WHERE MANAGER_ID IS NULL ;