mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 01:11:17 +02:00
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>
|
</para>
|
||||||
|
|
||||||
<refsect2 id="R2-SQL-SELECT-4">
|
<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>
|
<refsect2info>
|
||||||
<date>1998-09-24</date>
|
<date>1998-09-24</date>
|
||||||
</refsect2info>
|
</refsect2info>
|
||||||
|
Loading…
Reference in New Issue
Block a user