ala*_*lan 4 postgresql select insert
我需要对多行执行插入查询,其中第一列是数字且相同的值,第二列是从另一个表查询的.
就像是
插入表格(33,从another_table中选择col2);
这可以用一个声明来完成吗?
SQL*_*ace 13
像这样
insert into table select 33, col2 from another_table;
归档时间:
15 年,5 月 前
查看次数:
8222 次
最近记录:
8 年,12 月 前