我有两个表,table1
有2列,table2
有3列。在SQL中插入表1到表2的数据
我想将table1 col1 and table1 col2
的值插入到一列的table2中。
这里是table1
数据:
╔════════╦════════╗
║ Col1 ║ Col2 ║
╠════════╬════════╣
║ Value1 ║ Value2 ║
╚════════╩════════╝
请插入到table2
行:像
╔════════╦
║ Value1 ║
╠════════╣
║ Value2 ║
╚════════╝
如何使用SQL做到这一点?
有没有听说过标点符号?我无法理解你的问题。 – HoneyBadger