Oracle 如何将第2列中的记录插入第1列,而不修改同一表第1列中的记录?

Oracle 如何将第2列中的记录插入第1列,而不修改同一表第1列中的记录?,oracle,sql-insert,Oracle,Sql Insert,我有一张桌子,比如说桌子1。。对于一个特定ID,第1列有10条记录,第2列也有10条记录。我想将第2列记录添加到第1列,以便第1列包含20条记录。能否提供一些示例数据 Try below query--- Suppose you have table name as table1 having columns col1 and col2 and have to add records from col2 to col1 then insert into table1(col1) select

我有一张桌子,比如说桌子1。。对于一个特定ID,第1列有10条记录,第2列也有10条记录。我想将第2列记录添加到第1列,以便第1列包含20条记录。

能否提供一些示例数据
Try below query---
Suppose you have table name as table1 having columns col1 and col2 and have to add 
records
from col2 to col1 then

insert into table1(col1) select col2 from table1;