CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the given boolean expression:
Exp: a98AND NOT(b30)
For what values of a and b including NULL the Exp have truth value UNKNOWN is SQL. Consider these statements regarding above conditions:
I.b is NULL and a98
II. a is NULL and b >30
Which of the above statements is/are correct?

Open in App
Solution

(c)
The AND evaluates to UNKNOWN (x1 AND x2)
will be neither (x1 nor x2) is FALSE.

So both the statement results is UNKNOWN.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Potable Water
Watch in App
Join BYJU'S Learning Program
CrossIcon