Nulls Flashcards
What is a NULL?
An all purpose marker to represent incomplete information
NULL are the main source of ________ and ________________
problems, inconsistencies
What are four meanings of NULL?
- Missing value
- N/A
- Constant
- Unknown
We can use ______ to give NULL values more meaning in our DB
CHECKs
NULL is not allows in ________ keys
primary
Every _______ operation that involves a NULL results in NULL. NULL is treated is a __________(undefined)
arithmetic, non-applicable
Aggregate functions ignore _____ except for ______
NULLs, COUNT
NULL is treated like any other value in ___ operations
set
In selection condition, a NULL in a condition results in _____ tuple
empty
In comparisons, NULL has truth value ______
unknown
Marked NULLs allows ______ ________ of missing values
cross referencing