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