遇到Null總是會發生無法預期的狀況,筆記幾張速查表以備不時之需
AND
AND | True | False | Unknown |
True | True | False | Unknown |
False | False | False | False |
Unknown | Unknown | False | Unknown |
OR
OR | True | False | Unknown |
True | True | True | True |
False | True | False | Unknown |
Unknown | True | Unknown | Unknown |
NOT
CONDITION | NOT CONDITION |
True | False |
False | True |
Unknown | Unknown |