首页 > 数据库技术 > 详细

sql join

时间:2015-02-10 14:36:55      阅读:301      评论:0      收藏:0      [点我收藏+]

update Product set Companyid=Company.id from Company inner join Product on Company.CompanyMessage=Product.other1    

select * from  Company inner join Product on Company.CompanyMessage=Product.other1

 

select Product.id,Product.ProductName,Product.ProductType,Product.ProductTrademark,Product.ProductYield,Product.ProductNumber,Product.Productvalid,Company.id Companyid into aaa from  Company inner join Product on Company.CompanyMessage = Product.other1

大数据之两表关联 重新生成 删除旧表

sql join

原文:http://www.cnblogs.com/hellowzd/p/4283565.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!