Search Postgresql Archives

Re: "SELECT FROM foo" acts like "SELECT COUNT(*) FROM foo"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wednesday, February 1, 2023, Ron <ronljohnsonjr@xxxxxxxxx> wrote:

https://www.postgresql.org/docs/12/sql-select.html

The docs say that one of these are required in the SELECT list.
[ * | _expression_ [ [ AS ] output_name ] [, ...] ]

The square brackets you show are how optional elements are introduced so while those two options exists neither are required.

David J. 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux