小编Hun*_*eez的帖子

无法绑定多部分标识符

试试这个

select tblPersonalInfo.companyname, tblJobBudget.title,tblJobBudget.lastmodifiedby,
tblJobAdv.advtitle, tblJobAdv.userId,       
tblApplication.advid, tblApplication.position
from tblJobAdv 
inner join tblApplication
ON tblJobAdv.advid = tblApplication.advid
inner join tblPersonalInfo
On tblJobBudget.lastmodifiedby = tblPersonalInfo.userid
Run Code Online (Sandbox Code Playgroud)

给出错误

Msg 4104, Level 16, State 1, Line 8
The multi-part identifier "tblJobBudget.lastmodifiedby" could not be bound.
Msg 4104, Level 16, State 1, Line 2
The multi-part identifier "tblJobBudget.title" could not be bound.
Msg 4104, Level 16, State 1, Line 2
Run Code Online (Sandbox Code Playgroud)

无法绑定多部分标识符“tblJobBudget.lastmodifiedby”。

sql inner-join sql-server-2008 multiple-select-query

5
推荐指数
1
解决办法
5万
查看次数