对于以下查询,我收到此错误:
消息 156,级别 15,状态 1,第 3 行:关键字“in”附近的语法不正确
询问:
SELECT shedule.shedulId, shedule.shedudate, shedule.hometeam, shedule.awayteam
FROM shedule
where in
(Select homeplay.shedulId from homeplay, shedule where shedule.shedulId != homeplay.shedulId);