Re: Formating psql query output

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Formating psql query output
Date: 2021-07-19 20:44:07
Message-ID: 3605db8f-3df2-8e8d-a7e1-4776f4f72e65@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2021-07-20 04:14:19 Re: Have I found an interval arithmetic bug?
Previous Message Rich Shepard 2021-07-19 20:05:20 Re: Formating psql query output