mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Some more small improvements in response to 7.4 interactive docs comments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table_as.sgml,v 1.28 2005/01/05 14:22:39 petere Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table_as.sgml,v 1.29 2005/01/09 05:57:45 tgl Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
@@ -157,6 +157,20 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>Examples</title>
|
||||
|
||||
<para>
|
||||
Create a new table <literal>films_recent</literal> consisting of only
|
||||
recent entries from the table <literal>films</literal>:
|
||||
|
||||
<programlisting>
|
||||
CREATE TABLE films_recent AS
|
||||
SELECT * FROM films WHERE date_prod >= '2002-01-01';
|
||||
</programlisting>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>Compatibility</title>
|
||||
|
||||
|
Reference in New Issue
Block a user