Javatpoint Logo
Javatpoint Logo

MySQL IS NOT NULL Condition

MySQL IS NOT NULL condition is used to check the NOT NULL value in the expression. It is used with SELECT, INSERT, UPDATE and DELETE statements.

Syntax:

Parameter

expression: It specifies a value to test if it is not NULL value.

MySQL IS NOT NULL Example

Consider a table "officers" having the following data.

MySQL IS NOT NULL Condition 1

Execute the following query:

Output:

MySQL IS NOT NULL Condition 2

Note: Here, you are getting the complete "officers" table as result because every value is NOT NULL in the table.

Next TopicMySQL BETWEEN





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA