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

the FROM clause. e.g. "SELECT table.*".
This commit is contained in:
Thomas G. Lockhart 1998-12-18 16:22:31 +00:00
parent 4060456291
commit 5ac3cd0f0c
1 changed files with 21 additions and 0 deletions

View File

@ -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>