如何在PostgreSQL中使用select into创建临时表.例如在SQL Select * into temp_tab from source_tab;
中
如何在PostgreSQL中使用select into创建临时表.例如在SQL Select * into temp_tab from source_tab;
中
您可以try 使用以下100命令:
CREATE TEMP TABLE mytable AS
SELECT * from source_tab;
从文件中:
This command is functionally similar to SELECT INTO,但它是首选,因为它不太可能与其他用途混淆
CREATE TABLE AS命令允许用户明确指定