Re: wrong field in example - Mailing list pgsql-docs

From David G. Johnston
Subject Re: wrong field in example
Date
Msg-id CAKFQuwbjP4Z4FGqkY-vAWzc=ZY70DbGKzpLnO=rM7i9sa_w-DQ@mail.gmail.com
Whole thread Raw
In response to wrong field in example  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: wrong field in example
List pgsql-docs
On Tuesday, July 23, 2024, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/queries-table-expressions.html
Description:

>> In the second query, we could not have written SELECT * FROM test1 GROUP
BY x, because there is no single value for the column y that could be
associated with each group. The grouped-by columns can be referenced in the
select list since they have a single value in each group.

I think you mis-copied the query - the one on the page has “select x”, not “select *”.

David J.
 

pgsql-docs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Incorrect grammar in 15.2
Next
From: David Rowley
Date:
Subject: Re: wrong field in example