Include example of Postgres' extended query syntax which allow one to omit
the FROM clause. e.g. "SELECT table.*".
This commit is contained in:
parent
4060456291
commit
5ac3cd0f0c
@ -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…
x
Reference in New Issue
Block a user