



时间:2011-04-25 关注公众号 来源:网络
1,create table vincent_sms as select * from vincent_voice
创建一个表vincent_sms,其字段类型同vincent_voice完全一样,并会把vincent_voice中的记录也复制到vincent_sms表中去
注:select子句还可以加where限制条件
===================================================================
2, insert into vincent_sms select * from vincent_voice
将vincent_voice表中的记录导入vincent_sms 表中
注:select子句还可以加where限制条件,如果vincent_sms 和vincent_voice表结构不一样的话,当然可以指明字段的。注意,这里没有values关键字
上一篇:C++学习从零开始(二)
文章内容来源于网络,不代表本站立场,若侵犯到您的权益,可联系我们删除。(本站为非盈利性质网站)
电话:13918309914
QQ:1967830372
邮箱:rjfawu@163.com