Professional Documents
Culture Documents
Explicit Sets & Nulls
Explicit Sets & Nulls
-72
EXPLICIT SETS
It is also possible to use an explicit set of values in the WHERE-clause rather than a nested query.
Explicitly mentioned rows can be
Syntax-Diagram :test-expression
NOT
IN
constants )
,
Output
ENAME
:-
SMITH
ALLEN JONES MARTIN
40
BLAKE
7566
Meaning of NULL in SQL : Unknown Value Unavailable or Withheld Value Not applicable attribute NULL is used as a placeholder for unknown or missing values. Syntax-Diagram :column-name IS
NOT
NULL
NULL
SQL Statement :SELECT <attribute list> FROM <table name> WHERE <column-name> IS NULL/NOT NULL
NOT NULL.
Example :- Display the names of the
ENAME
SMITH ALLEN WARD JONES MARTIN BLAKE
MGR
7902 7698 7698 7566
ENAME
WARD MARTIN