incorrect syntax near as
运行时接收inner join
。需要确定为什么和不能。请指出哪里出错了:
相关SQL代码
from
(
(
(dbo.task inner join dbo.projwbs on dbo.task.proj_id=dbo.projwbs.wbs_id) as tmptb1
inner join
(dbo.task inner join dbo.project on dbo.task.proj_id=dbo.project.proj_id) as tmptb2
on dbo.tmptb1.proj_id=dbo.tmptb2.proj_id as dbo.tmptb3
)
inner join
(
(dbo.task inner join dbo.rsrc on dbo.task.rsrc_id=dbo.rsrs.rsrc_id) as tmptb4)
on tmptb3.proj_id=tmptb4.proj_id
)