3

我正在尝试运行此选择语句:

SELECT  dbo.tblBird.EnglishName, dbo.tblMember.Last
FROM  dbo.tblBird , dbo.tblMember
JOIN dbo.tblBirdMember AS join1 ON  (join1.BirdID = dbo.tblBird.BirdID)
JOIN dbo.tblBirdMember AS join2 ON (join2.MemberID = dbo.tblMember.MemberID)

但我收到此错误:

Msg 4104, Level 16, State 1, Line 3
The multi-part identifier "dbo.tblBird.BirdID" could not be bound.

我已经在谷歌上搜索了几个小时,但我似乎无法做到这一点,非常感谢您的帮助!

4

1 回答 1

2

看起来您正在尝试编写如下内容:

select b.EnglishName, c.Last
from dbo.tblBirdMember a
join dbo.tblBird b          on a.BirdID = b.BirdID
join dbo.tblMember c        on a.MemberID = c.MemberID
于 2013-04-29T06:06:52.417 回答