Created
July 27, 2024 07:44
-
-
Save Bilbottom/db6ca3842d38096802f54cfd02591bc7 to your computer and use it in GitHub Desktop.
Three-valued logic (SQL)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Three-valued logic | |
DuckDB version: 1.0.0 | |
Bill Wallis, 2024-07-27 | |
https://modern-sql.com/concept/three-valued-logic | |
*/ | |
select version(); | |
select | |
true and null as "true and null", | |
false and null as "false and null", | |
true or null as "true or null", | |
false or null as "false or null", | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is part of the following LinkedIn post: