1
同じクエリに参加する参加する:エラー2は、内部やって、私は内側の2つをやっている
use SalesDWH
go
select COUNT([specimen id]) as [count],[practice name],qlmlismapping.[mlis practice id],[practice code],[Requesting Physician]
from quicklabdump a
inner join qlmlismapping b
on (b.[quiklab practice code] = a.[practice code])
inner join PracticeandPhysician c
on (a.[Requesting Physician]=c.doctorfirstname+' '+c.DOCTORLASTNAME)
where [DATE entered] between '12/1/2011' and '12/31/2011'
group by quicklabdump.[practice name],qlmlismapping.[mlis practice id],[practice code],[Requesting Physician]
order by [count] desc
と、このエラーになっ:
Msg 4104, Level 16, State 1, Line 10
The multi-part identifier "quicklabdump.practice name" could not be bound.
Msg 4104, Level 16, State 1, Line 10
The multi-part identifier "qlmlismapping.mlis practice id" could not be bound.
Msg 4104, Level 16, State 1, Line 3
The multi-part identifier "qlmlismapping.mlis practice id" could not be bound.
私が間違っているのは何を?ジョインは間違っていますか?