IS NOT NULL
To demonstrate this on a query, let's modify the previous query that
returned records from the orders table whose freight information has
null values but
select order_id, customer_id, ship_country, order_date, freight
from orders
where freight IS NULL AND ship_country IS NOT NULL
| order_id | customer_id | ship_country | order_date | freight |
| -------- | ----------- | ------------ | ---------- | ------- |
| 3024 | 2024 | Austria | 2023-05-05 | null |
| 3029 | 2029 | Denmark | 2023-06-01 | null |
The above results only contain values with valid region data.
Making use of
In the next section, we look at filtering text with the