单项选择题

查询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 no tnull

<上一题 目录 下一题>
热门 试题

单项选择题
执行SQL语句:select*,score*0.5+20 as 加权成绩from grade where(score*0.5+20<60orderbyscore*0.5+20,以下描述是正确的()。

A.错误提示:orderby子句中不能出现表达式。
B.正确执行,显示grade表中各列值,按照score由低到高排序。
C.正确执行,显示grade表中各列值,以及加权成绩列,按照score由低到高排序。
D.错误提示:where子句中不能出现表达式。

单项选择题
SQL server提供了一些字符串函数,以下说法错误的是()。

A.selectright(’hello’,3)返回值为:hel
B.selectltrim(rtrim(’hello’))返回值为:hello(前后都无空格)
C.selectreplace(’hello’,’e’,’o’)返回值为:hollo
D.selectlen(’hello’)返回值为:5

相关试题
  • Mysql引擎中InnoDB和MyISAM最大的区别是哪...
  • 以下选项中的语句错误的是()
  • 显示数据库的版本的命令是哪一个?()
  • 安装Mysql服务的命令是哪一个?()
  • 登录到Mysql服务的命令是哪一个?()