A field havingย NULLย value is one that has been left blank during record creation, NULL value field means field with no value.
IS NULL
IS NULL operator in SQL is used to test for NULL Values .
Syntax-
SELECTย column_name1, column_name2..column_nameN
FROMย <table_name>
WHERE<column_name>ย IS NULL;
IS NOT NULL
IS NOT NULL operators in SQL is used to test for NOT NULL or non-empty values.
Syntax-
SELECTย column_name1, column_name2..column_nameN
FROMย <table_name>
WHERE<column_name>ย IS NOT NULL;
Saraswat World Changed status to publish June 14, 2023
Leave a Reply