programplug Logo



SQL Null Value

NULL VALUE



The NULL VALUE is the term which represent a missing value. A NULL value in a table is a value which appears to be blank.

Syntax:
SELECT column_name
FROM table_name
WHERE column_name IS NULL; 
			 
	
Example:
c_id c_name c_age c_experince
01 Frank 37 7
02 Lennin 27
03 andy 41 6
04 Peter 29 3
05 Mike 44
SELECT  c_id,c_name, c_age,c_experince
FROM Teacher
WHERE Experience IS NOT NULL;
c_id c_name c_age c_experince
02 Lennin 27
05 Mike 44