导航

postgres 临时表

Posted on 2020-08-01 17:13  yiyishuitian  阅读(217)  评论(0编辑  收藏  举报
直接创建临时表
create temp table tbl_temp(a int);


根据另外一个表创建临时表
CREATE TEMP TABLE mytable AS
SELECT * from source_tab;