pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Formating psql query output
Date: Mon, 19 Jul 2021 15:44:07 -0500
Message-ID: <3605db8f-3df2-8e8d-a7e1-4776f4f72e65@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.20.2107191304200.13362@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2107191021180.13362@salmo.appl-ecosys.com>
	<4f001abb-7f6d-d098-ed10-1c5445c0ba1c@aklaver.com>
	<alpine.LNX.2.20.2107191157370.13362@salmo.appl-ecosys.com>
	<ab964598-22ac-5bcf-bc4a-3ff7166de5f1@aklaver.com>
	<alpine.LNX.2.20.2107191304200.13362@salmo.appl-ecosys.com>

On 7/19/21 3:05 PM, Rich Shepard wrote:
> On Mon, 19 Jul 2021, Adrian Klaver wrote:
>
>> You need them in the JOIN and/or WHERE sections, but not necessarily in 
>> the field list in the SELECT portion.
>
> Adrian,
>
> I wondered about that and thought I needed to include them in the SELECT
> phrase.

If that were the case, then there would be no purpose in enumerating columns 
instead of writing "SELECT T1.*, T2.*"

-- 
Angular momentum makes the world go 'round.





view thread (16+ messages)

Message-ID: <3605db8f-3df2-8e8d-a7e1-4776f4f72e65@gmail.com>
Permalink:  ../3605db8f-3df2-8e8d-a7e1-4776f4f72e65@gmail.com/
Also on:    postgresql.org/message-id/3605db8f-3df2-8e8d-a7e1-4776f4f72e65@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Formating psql query output
  In-Reply-To: <3605db8f-3df2-8e8d-a7e1-4776f4f72e65@gmail.com>
  References: <alpine.LNX.2.20.2107191021180.13362@salmo.appl-ecosys.com> <4f001abb-7f6d-d098-ed10-1c5445c0ba1c@aklaver.com> <alpine.LNX.2.20.2107191157370.13362@salmo.appl-ecosys.com> <ab964598-22ac-5bcf-bc4a-3ff7166de5f1@aklaver.com> <alpine.LNX.2.20.2107191304200.13362@salmo.appl-ecosys.com> <3605db8f-3df2-8e8d-a7e1-4776f4f72e65@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox