Include example of Postgres' extended query syntax which allow one to omit

the FROM clause. e.g. "SELECT table.*".
REL6_5_PATCHES
Thomas G. Lockhart 27 years ago
parent 4060456291
commit 5ac3cd0f0c
  1. 21
      doc/src/sgml/ref/select.sgml

@ -494,6 +494,27 @@ SELECT actors.name
</para>
<refsect2 id="R2-SQL-SELECT-4">
<refsect2info>
<date>1998-09-24</date>
</refsect2info>
<title>
<acronym>Extensions</acronym>
</title>
<para>
<productname>Postgres</productname> allows one to omit
the <command>FROM</command> clause from a query. This feature
was retained from the original PostQuel query language:
<programlisting>
SELECT distributors.* WHERE name = 'Westwood';
did|name
---+----------------
108|Westward
</programlisting>
</para>
<refsect2 id="R2-SQL-SELECT-5">
<refsect2info>
<date>1998-09-24</date>
</refsect2info>

Loading…
Cancel
Save