You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- A field with a `NULL` value is a field with no value.
3
+
- If a field in a table is optional, it is possible to insert a new record or update a record without adding a value to this field. Then, the field will be saved with a `NULL` value.
4
+
- It is not possible to test for NULL values with comparison operators, such as =, <, or <>.
5
+
- We will have to use the `IS NULL` and IS `NOT NULL` operators instead.
6
+
7
+
**IS NULL Syntax**:
8
+
9
+
SELECT column_names
10
+
FROM table_name
11
+
WHERE column_name IS NULL;
12
+
13
+
14
+
**IS NOT NULL Syntax**:
15
+
16
+
SELECT column_names
17
+
FROM table_name
18
+
WHERE column_name IS NOT NULL;
19
+
20
+
21
+
## CUSTOMERS
22
+
23
+
| CustomerID | CustomerName | ContactName | Address | City | PostalCode | Country |
0 commit comments