下列说法正确的是________。
A: 执行“SELECT *FROM student WHERE 条件表达式”语句后,表示一定返回学生所有行的数据
B: WHERE子句在查询语句中为必选
C: 在SQL Server中,“!=”与“”作用完全相同
D: 语句“SELECT *FROM student WHERE Age NOT NULL”的写法正确
A: 执行“SELECT *FROM student WHERE 条件表达式”语句后,表示一定返回学生所有行的数据
B: WHERE子句在查询语句中为必选
C: 在SQL Server中,“!=”与“”作用完全相同
D: 语句“SELECT *FROM student WHERE Age NOT NULL”的写法正确
举一反三
- 下列说法正确的是() A: 执行”SELECT *FROM table_name WHERE…”语句后,定会返回所有行的数据 B: WHERE子句在SELECT 子句中为必选 C: 在SQL Server中,”!=”与”<>”作用完全相同 D: 语句”SELECT *FROM table_name WHERE Age NOT NULL”的写法正确
- 若想查询student表中name为空值的记录,则正确的SQL语句是( )。 A: SELECT * FROM student WHERE name = NULL; B: SELECT * FROM student WHERE name like NULL; C: SELECT * FROM student WHERE name = 'NULL'; D: SELECT * FROM student WHERE name is NULL;
- 若想查询student表中name为空值的记录,则正确的SQL语句是(1.0分) A: select * from student where name = null; B: select * from student where name link null; C: select * from student where name = 'null'; D: select * from student where name is null;
- 对于学生信息表:student(sno,sname,sex,age,grade),查询学习成绩为空的学生的学号和姓名,下面语句正确的是 A: SELECT sno,sname FROM student WHERE grade=NULL B: SELECT sno,sname FROM student WHERE grade IS NULL C: SELECT sno,age FROM student WHERE grade IS NULL D: SELECT sno,age FROM student WHERE grade=NULL
- 查询student表中的所有非空email信息, 以下语句正确的是( ) A: Select email from student where email !=null B: Select email from student where email not is null C: Select email from student where email <> null D: Select email from student where email is not null