Nulls Flashcards

1
Q

What is a NULL?

A

An all purpose marker to represent incomplete information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

NULL are the main source of ________ and ________________

A

problems, inconsistencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are four meanings of NULL?

A
  • Missing value
  • N/A
  • Constant
  • Unknown
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

We can use ______ to give NULL values more meaning in our DB

A

CHECKs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

NULL is not allows in ________ keys

A

primary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Every _______ operation that involves a NULL results in NULL. NULL is treated is a __________(undefined)

A

arithmetic, non-applicable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Aggregate functions ignore _____ except for ______

A

NULLs, COUNT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NULL is treated like any other value in ___ operations

A

set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In selection condition, a NULL in a condition results in _____ tuple

A

empty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In comparisons, NULL has truth value ______

A

unknown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Marked NULLs allows ______ ________ of missing values

A

cross referencing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly