# IS NOT NULL

## Syntax

```sql
IS NOT NULL
```

## Description

Tests whether a value is not `NULL`. See also [NULL Values in MariaDB](../../../data-types/null-values).

## Examples

```sql
SELECT 1 IS NOT NULL, 0 IS NOT NULL, NULL IS NOT NULL;
+---------------+---------------+------------------+
| 1 IS NOT NULL | 0 IS NOT NULL | NULL IS NOT NULL |
+---------------+---------------+------------------+
|             1 |             1 |                0 |
+---------------+---------------+------------------+
```

## See also

* [NULL values](../../../data-types/null-values)
* [IS NULL operator](is-null)
* [COALESCE function](coalesce)
* [IFNULL function](../../../sql-functions/control-flow-functions/ifnull)
* [NULLIF function](../../../sql-functions/control-flow-functions/nullif)
* [CONNECT data types](../../../../../server-usage/storage-engines/connect/connect-data-types#null-handling)

<sub>_This page is licensed: GPLv2, originally from_</sub> [<sub>_fill\_help\_tables.sql_</sub>](https://github.com/MariaDB/server/blob/main/scripts/fill_help_tables.sql)

{% @marketo/form formId="4316" %}
