下面选项中,查询student表中id值不在2和5之间的SQL语句是()
A.SELECT*FROMstudentwhereid!=2,3,4,5
B.SELECT*FROMstudentwhereidnotbetween5and2
C.SELECT*FROMstudentwhereidnotbetween2and5
D.SELECT*FROMstudentwhereidnotin2,3,4,5
正确答案是C