| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1186 人关注过本帖
标题:不懂编程,谁帮我下把这个*= 改成 left join这样的,就是2000的改成2008下的 ...
只看楼主 加入收藏
ywpsky
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2015-10-18
收藏
 问题点数:0 回复次数:1 
不懂编程,谁帮我下把这个*= 改成 left join这样的,就是2000的改成2008下的语句
SELECT     a.*, b.FileName, AS TitleInfoManagerCompanyCnName, b.EnName AS TitleInfoManagerCompanyEnName, b.EnAddress, b.ZipCode, ('Tel.: ' + isnull(b.Tel, '') + ', Fax:
' + isnull(b.Fax, '')
                      + ', ' + isnull(b.Web, '')) AS CompanyContact, c.EnName AS CurrencyName, AS CurrencyCnName, d .EnName AS SupplierEnName, d .Address AS SupplierEnAddress, f.Realname
FROM         EXP_PurContract_Fabric a, BAS_TitleInfoManager b, BAS_Currency c, bas_supplier d, sys_user f
WHERE      *= b.autoinc AND a.CurrencyID *= c.autoinc AND a.supplierid *= d .autoinc AND a.MakerID = f.autoinc
2015-10-18 11:55
yxf127
Rank: 2
等 级:论坛游民
威 望:2
帖 子:8
专家分:24
注 册:2015-10-15
收藏
得分:0 
SELECT  a.*, b.FileName, AS TitleInfoManagerCompanyCnName, b.EnName AS TitleInfoManagerCompanyEnName, b.EnAddress, b.ZipCode, ('Tel.: ' + isnull(b.Tel, '') + ', Fax: ' + isnull(b.Fax, '') + ', ' + isnull(b.Web, '')) AS CompanyContact, c.EnName AS CurrencyName, AS CurrencyCnName, d .EnName AS SupplierEnName, d .Address AS SupplierEnAddress, f.Realname
FROM  EXP_PurContract_Fabric a left join BAS_TitleInfoManager b on = b.autoinc AND left join BAS_Currency c on a.CurrencyID = c.autoinc AND left join  bas_supplier d on a.supplierid = d .autoinc inner join sys_user f on a.MakerID = f.autoinc
2015-11-04 14:30
快速回复:不懂编程,谁帮我下把这个*= 改成 left join这样的,就是2000的改成20 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.023984 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved