1. 已知教学管理数据库中学生表的结构如下:学生(学号,姓名,性别,年龄,专业),现要查询所有男学生的信息,则下列查询语句正确的是( )
A.select * from 学生 where 性别=男
B.select * from 学生 where 性别="男"
C.select * from 学生 where 性别='男'
D.select * from 学生 where 性别 is '男'
正确答案是C
1. 已知教学管理数据库中学生表的结构如下:学生(学号,姓名,性别,年龄,专业),现要查询所有男学生的信息,则下列查询语句正确的是( )
A.select * from 学生 where 性别=男
B.select * from 学生 where 性别="男"
C.select * from 学生 where 性别='男'
D.select * from 学生 where 性别 is '男'
正确答案是C