题目:查询student表中id字段值小于5,并且gender字段值为“女”的学生姓名的SQL语句是:
A. SELECT name FROM student WHERE id<5 OR gender='女';
B. SELECT name FROM student WHERE id<5 AND gender='女';
C. SELECT name FROM student WHERE id<5, gender='女';
D. SELECT name FROM student WHERE id<5 AND WHERE gender='女';
答案:评论后可见此内容