4. 已知教学管理数据库中学生表的结构如下:学生(学号,姓名,性别,年龄,专业),现要查询年龄在20到30之间(含20与30)的学生的信息,则查询语句应该是( )
A.select * from 学生 where 年龄 between 20 and 30
B.select * from 学生 where 年龄>=20 and 年龄<=30
C.select * from 学生 where 年龄>=20 or 年龄<=30
D.select * from 学生 where 年龄=[20.30]
正确答案是AB