关于在表连接时使用索引的有关问题

关于在表连接时使用索引的问题
本人初学索引 刚才做了一道题 但总是报错,代码如下:
select StudentName,SubjectName,ExamDate,StudentResult from Result
inner join Student on Result.StudentNo=Student.StudentNo
inner join subject on Result.SubjectNo=subject.SubjectNo
with(index=result_index)------这里总是报语法错误
where studentResult between 60 and 80

错误信息:
消息 319,级别 15,状态 1,第 4 行
关键字 'with' 附近有语法错误。如果此语句是公用表表达式、xmlnamespaces 子句或者更改跟踪上下文子句,那么前一个语句必须以分号结尾。

各位高手帮帮忙,小弟感激不尽

------解决方案--------------------
跟在表名后面。