Re: subquery and sub-SELECT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: subquery and sub-SELECT
Date: 2024-08-04 02:22:12
Message-ID: 292155.1722738132@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <ishii(at)postgresql(dot)org> writes:
> In our documentations, "subquery", "sub-query", "sub-select" and
> "sub-SELECT" are used. In English, are they interchangeable?

Pretty nearly. I think "sub-query" can include DML such as
INSERT RETURNING, whereas "sub-select" should only be a SELECT.
(I'm not claiming that we've been perfectly accurate about
that distinction.) The dashes definitely don't matter.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2024-08-04 02:30:09 Re: subquery and sub-SELECT
Previous Message Junwang Zhao 2024-08-04 02:13:49 Re: Official devcontainer config