多项选择题
成绩表grade中字段score代表分数,以下()语句返回成绩表中的最低分。
A.select max(score)from grade
B.select top1score from grade order by score asc
C.Select min(score)fromgrade
D.select top1score from grade order by score desc
相关考题
-
单项选择题
查找authors表中的所有电话号码的首位为4,第二位为0或1的电话号码()。
A.SELECT phone FROM authors WHERE phone LIKE’4[1,0]%’
B.SELECT phone FROM authors WHERE phonein’4[^10]%’
C.SELECT phone FROM authors WHERE phone LIKE’4_[1,0]%’
D.SELECT phone FROM authors WHERE phone between’41%’and’40%’ -
单项选择题
查询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子句中不能出现表达式。
