public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Adw Spe <[email protected]>
Cc: Sam Stearns <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Peter Garza <[email protected]>
Cc: Henry Ashu <[email protected]>
Subject: Re: invalid reference to FROM-clause entry for table
Date: Fri, 4 Oct 2024 19:35:02 -0700
Message-ID: <CAKFQuwbCDsije-GDqwr4T2XO8QWqw7A9xxX5jYVkmd2s5uRuug@mail.gmail.com> (raw)
In-Reply-To: <LV8P221MB1267DAD1CB3347A560989811A2722@LV8P221MB1267.NAMP221.PROD.OUTLOOK.COM>
References: <CAN6TVj=Kn0b1a5NDujb8rgWG8jDJhGLMWwCW-ZgQEuM=vND=dA@mail.gmail.com>
	<LV8P221MB1267DAD1CB3347A560989811A2722@LV8P221MB1267.NAMP221.PROD.OUTLOOK.COM>

On Friday, October 4, 2024, Adw Spe <[email protected]> wrote:

> Maybe I’m wrong, but I think every subquery must at least have a
> SELECT-FROM pair.
>

You are indeed wrong - at least for PostgreSQL.  No query requires a from
clause in PostgreSQL.

David J.


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], [email protected], [email protected], [email protected]
  Subject: Re: invalid reference to FROM-clause entry for table
  In-Reply-To: <CAKFQuwbCDsije-GDqwr4T2XO8QWqw7A9xxX5jYVkmd2s5uRuug@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