设在某SELECT语句的WHERE子句中,需要对Grade列的空值进行处理。下列关于空值的操作中,错误的是()
A: A.Grade IS not null
B: B.Grade IS null
C: C.Grade = null
D: D.Not(Grade IS null)
A: A.Grade IS not null
B: B.Grade IS null
C: C.Grade = null
D: D.Not(Grade IS null)
举一反三
- 在某SELECT语句的WHERE子句中,需要对Grade列的空值进行处理。下列关于空值的操作错误的是( )。 A: Grade Is Not NULL B: Grade Is NULL C: Grade=NULL D: NOT ( Grade IS NULL )
- 设在某SELECT语句的WHERE子句中,需要对Grade列的空值进行处理。下列关于空值的操作,错误的是()。 A: GradeISNOTNULL B: GradeISNULL C: Grade=NULL D: NOT(GradeISNULL)
- 对于学生信息表: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
- 若查询考试成绩不为空的学生的学号,下列语句哪个是正确的?( ) A: SELECT Sno FROM SC WHERE Grade >= 0; B: SELECT Sno FROM SC WHERE Grade != 0; C: SELECT Sno FROM SC WHERE Grade IS NOT NULL; D: SELECT Sno FROM SC WHERE Grade NOT IS NULL;
- 若查询考试成绩不为空的学生的学号,下列语句哪个是正确的? A: SELECT Sno FROM SC WHERE Grade >= 0; B: SELECT Sno FROM SC WHERE Grade!= 0; C: SELECT Sno FROM SC WHERE Grade NOT IS NULL; D: SELECT Sno FROM SC WHERE Grade IS NOT NULL;