public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Thiemo Kellner <[email protected]>
Cc: [email protected]
Subject: Re: How do I check for NULL
Date: Tue, 9 Dec 2025 10:29:17 -0700
Message-ID: <CAKFQuwbnevkxuH8JUj4cRr8ABCAwhQTT7zM4kR0X_Le3tm7KMA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CA+FnnTw=18Rba2XgceRUFKQo5P7Xf9QhXT6wKF=DgzYT6K9-sw@mail.gmail.com>
	<[email protected]>

On Tue, Dec 9, 2025 at 10:14 AM Thiemo Kellner <[email protected]>
wrote:

> I feel, you meant to say, the subquery does not return any record which is
> not the same as returns NULL.
>

For a scalar subquery the final output of a zero-row query is the null
value.

David J.


view thread (14+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: How do I check for NULL
  In-Reply-To: <CAKFQuwbnevkxuH8JUj4cRr8ABCAwhQTT7zM4kR0X_Le3tm7KMA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox