(2)确定范围使用谓词BETWEEN … AND … NOT BETWEEN … AND … [例10]查询年龄在20~23岁(包括20岁和23岁)之间的学生的姓名、系别和年龄。 SELECT Sname,Sdept,Sage FROM Student WHERE Sage BETWEEN 20 AND 23该查询等价于下面的查询SELECT Sname, Sdept, Sage FROM Student WHERE Sage>=20 AND Sage