to check null in sql code example Example: get null value in sql SELECT * FROM my_table WHERE col1 IS NULL;