Unsupported versions: 6.3
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.
PostgreSQL
Prev Chapter 4. The Query Language Next

Redirecting SELECT Queries

Any select query can be redirected to a new class

SELECT * INTO TABLE temp FROM weather;

This forms an implicit create command, creating a new class temp with the attribute names and types specified in the target list of the select into command. We can then, of course, perform any operations on the resulting class that we can perform on other classes.


Prev Home Next
Querying a Class Up Joins Between Classes