如何使用select语句插入数据...
我遇到了一个问题,select * from orders;是用来做什么的?答案是为了查看和插入...
请提供一个解释...
发布于 2010-11-08 22:26:36
要根据select插入值,请使用以下语法:
insert into table1 (mycol)
select mycol from table2您还可以使用允许您创建新表的select into:select into
select * from table1表示从table1中选择每一列
有关SQL的完整教程,请尝试使用W3schools。
https://stackoverflow.com/questions/4124706
复制相似问题