postgresql_16:7.1.171.1 Description
PostgreSQL 16 > Reference > SQL Commands > SELECT INTO > Description
SELECT INTO creates a new table and fills it with data computed by a query. The data is not returned to the client, as it is with a normal SELECT. The new table's columns have the names and data types associated with the output columns of the SELECT.