数据库内连接出错:无法绑定由多个部分组成的标识符
SELECT dbo.tb_forum.id, dbo.tb_forum.title, dbo.tb_forum_style.forumstyle, dbo.tb_sub_forum.contents,
dbo.tb_forum_user.users, dbo.tb_sub_forum.first_forum, dbo.tb_forum.hf_nums, dbo.tb_forum.dates,
dbo.tb_forum_user.users_nc
FROM dbo.tb_forum INNER JOIN
dbo.tb_forum_style INNER JOIN
dbo.tb_forum_user INNER JOIN
dbo.tb_sub_forum ON dbo.tb_sub_forum.forumid = dbo.tb_forum.id ON
dbo.tb_forum_style.id = dbo.tb_sub_forum.styleid ON dbo.tb_forum.id = dbo.tb_sub_forum.forumid
WHERE (dbo.tb_sub_forum.first_forum = 1)
错误提示:无法绑定由多个部分组成的标识符”dbo.tb_forum.id“
------解决方案--------------------FROM dbo.tb_forum_style
INNER JOIN dbo.tb_sub_forum ON dbo.tb_forum_style.id=dbo.tb_sub_forum.styleid
inner join dbo.tb_forum_user on
....
INNER JOIN dbo.tb_sub_forum ON dbo.tb_forum_user.id=dbo.tb_sub_forum.authorid
少东西当然错了。