• 2022-06-29
    下列语句错误的是()
    A: select*fromorderswhereordernameisnotnull;
    B: select*fromorderswhereordername<>null;
    C: select*fromorderswhereordernameisnull;
    D: select*fromorderswhereordernamenotisnull;
  • B

    内容

    • 0

      关于Select Case语句的说法中,错误的是()。Select Case...e语句块n+1]End Select

    • 1

      select语句的完整语法较复杂,但至少包括的部分是( )。A. 仅selectB. select, from C. select, groupD. select,where A: 仅select B: select, from C: select, group D: select,where

    • 2

      若想查询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;

    • 3

      下面哪一个语句,显示没有Email地址的教师姓名() A: Select name from teacher where email=NULL; B: Select name from teacher where email C: Select name from teacher where email is NULL; D: Select name from teacher where emailis not NULL;

    • 4

      要从SC表中查找缺成绩(SCORE)的学生学号(NO),相应的SQL语句是( )。 A: SELECT NO FROM SC WHERE SCORE = 0 B: SELECT NO FROM SC WHERE SCORE IS 'NULL' C: SELECT NO FROM SC WHERE SCORE = NULL D: SELECT NO FROM SC WHERE SCORE IS NULL