sql condition to check weather one is null not both code example
Example: Select without null values sql
SELECT column_names
FROM table_name
WHERE column_name IS NOT NULL;
SELECT column_names
FROM table_name
WHERE column_name IS NOT NULL;