Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

IS NOT NULL

IS NOT NULL

The IS NOT NULL command is employed to check for non-empty values (NOT NULL values).

The following SQL enumerates all customers with a value in the “Address” field:

Example

SELECT CustomerName, ContactName, Address
FROM Customers
WHERE Address IS NOT NULL;