Having covered why nulls exist and how they can be created explicitly and implicitly, let’s look at how NULLs behave by looking at some specific examples. I previously showed that you can specify NULL explicitly, but what happens when NULLs interact with non-NULLs:
SELECT NULL + 1; ?column? ---------- (null) SELECT NULL || 'a'; ?column? ---------- (null) SELECT 'b' || NULL; ?column? ---------- (null)
If you're new here, you may want to subscribe to our RSS feed or follow us on Twitter for product announcements, event information, and industry news.
The Non-Value of NULLs (Part 3/11)






