News for hackers. Stuff that matters.
Re:SQL NULLs Are Weird by tshaddox on Friday January 10, 2025 @12:24PM (#42657689)
Even simpler, note that the first two examples are essentially just two of the most basic boolean algebra identities. Replace UNKNOWN with a variable and change the notation to the more conventional boolean algebra notation and you've got:

1. x ∧ 1 = 1 (identity law for conjunction)

2. x ∨ 0 = 1 (identity law for disjunction)

There are no comments on this comment yet.