使用查询结果创建数据表
更新时间 2025-02-14 10:21:49
最近更新时间: 2025-02-14 10:21:49
本文为您介绍如何使用查询结果创建数据表。
teledb=# insert into t values(1,'teledb');
INSERT 0 1
teledb=# create table t_as as select * from t;
INSERT 0 1
teledb=# select * from t_as;
id | mc
----+----------
1 | teledb
(1 row)