在期望条件的上下文中指定的非布尔类型的表达式 - 错误

etm*_*124 -2 sql sql-server

希望有人可以给我一些指导.我的查询:

SELECT
    wm.ID,
    wm.name,
    wm.meeting_type,
    m.start_date,
    wml.name as location
FROM
    webmaster.meeting wm inner join meetings m on wm.ID = m.Meeting_Code
    inner join webmaster.meeting_location on wml wm.locationID = wml.ID
WHERE
    Year(m.start_date) = Year(getDate())
ORDER BY
    m.start_date
Run Code Online (Sandbox Code Playgroud)

运行时,我收到此错误:

Msg 4145, Level 15, State 1, Line 9
An expression of non-boolean type specified in a context where a condition is expected, near 'wm'.
Run Code Online (Sandbox Code Playgroud)

有什么我想念的吗?

rs.*_*rs. 5

改变这个

inner join webmaster.meeting_location on wml wm.locationID = wml.ID

to 

inner join webmaster.meeting_location wml on wm.locationID = wml.ID
Run Code Online (Sandbox Code Playgroud)