• 2022-06-05
    学生数据库中有学生表,该表中有学生职务列。若想检查哪些学生没有填写学生职务一栏,应该使用子句:( )
    A: Select * from 学生表 where 学生职务= NULL
    B: Select * from 学生表 where 学生职务= ‘NULL’
    C: Select * from 学生表 where 学生职务 is NULL
    D: Select * from 学生表 where 学生职务 is ‘NULL’
  • C

    举一反三

    内容

    • 0

      【单选题】要查询学生信息表中学生姓“张”的学生情况,可用()命令 A. select * from 学生信息表 where 姓名 like ‘张%’ B. select * from 学生信息表 where 姓名 like ‘张_’ C. select * from 学生信息表 where 姓名 like ‘%张%’ D. select * from 学生信息表 where 姓名 = ‘张’

    • 1

      查询成绩大于90分的学生的姓名,正确的SQL命令是( ) A: select 姓名 from 学生表 where 学号=(select 学号 from 成绩表 where 成绩>90) B: select 姓名 from 学生表 where 学号 in (select 学号 from 成绩表 where 成绩>90) C: select 姓名 from 学生表 where 学号>(select 学号 from 成绩表 where 成绩>90) D: select 姓名 from 学生表 where 学号90)

    • 2

      下列哪个语句能够从学生表中查询出姓名的第二个字是“敏”的学生的信息() A: SELECT * FROM 学生表 WHERE 姓名=‘_敏%’ B: SELECT * FROM 学生表 WHERE 姓名like‘_敏%’ C: SELECT * FROM 学生表 WHERE 姓名like ‘%敏%’ D: SELECT * FROM 学生表 WHERE 姓名like ‘%敏’

    • 3

      下列哪条语句能够从学生表中查询出姓名的第二个字是“敏”的学生的信息()。 A: select * from 学生表 where 姓名=’_敏%’ B: select * from 学生表 where 姓名 like ’_敏%’ C: select * from 学生表 where 姓名 like ’%敏%’ D: select * from 学生表 where 姓名 like ’%敏’

    • 4

      查询学生表中姓名为张三的记录() A: select* from 学生 where 姓名=张三 B: select* from 学生 where 姓名=‘张三’ C: select* from 学生 where 姓名=“张三” D: select 姓名 from 学生 where 姓名=张三