题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2024-04-20 22:22:24

[单选题]学生成绩表grade中有字段score(float),现在要把所有在55分至60(包含两个边界值)之间的分数提高5分,以下SQL语句正确的是(选一项)
A.Update grade set score=score+5
B.Update grade set score=score+5 where score>=55 or score <=60
C.Update grade set score=score+5 where score between 55 and 60
D.Update grade set score=score+5 where score <=55 and score >=60

更多"[单选题]学生成绩表grade中有字段score(float),现在要"的相关试题:

[多选题]学生成绩表grade中有字段score(float),现在要把所有在55分至60之间的分数提高5分,以下sql语句正确的是哪两项?
A.Update grade set score=score+5
B.Update grade set score=score+5 where score>=55 or score <=60
C.Update grade set score=score+5 where score between 55 and 60
D.Update grade set score=score+5 where score >=55 and score <=60
[多选题]成绩表grade中字段score代表分数,以下哪两个语句返回成绩表中的最低分?
A.select max(score) from grade
B.select top 1 score from grade order by score asc
C.Select min(score) from grade
D.select top 1 score from grade order by score desc
[多选题]成绩表grade中字段score代表分数,以下()语句返回成绩表中的最低分(选二项)
A.select max(score) from grade
B.select top 1 score from grade order by score asc
C.Select min(score) from grade
D.select top 1 score from grade order by score desc
[多选题]学生表(student),成绩表(score)在成绩表中有学生表主键(sid),查询已录入成绩的学生人数,使用以下()语句。【选两项】
A.select * from student s,score c where s.sid = c.sid
B.select count(*) from student s,score c where s.sid = c.sid
C.select count(*) from student s left join score c on s.sid = c.sid
D.select count(*) from student s inner join score c on s.sid = c.sid
[多选题]成绩表score_tb中字段score代表分数,以下()语句返回成绩表中的最低分。【选两项】
A.select max(score) from score_tb
B.select top 1 score from score_tb order by score asc
C.select min(score) from score_tb
D.select top 1 score from score_tb order by score desc
[多选题]现有书目表book,包含字段:price (float); 现在查询一条书价最高的书目的详细信息,以下语句正确的是哪两项?
A.select top 1 * from book order by price asc
B.select top 1 * from book order by price desc
C.select top 1 * from book where price= (select max (price)from book)
D.select top 1 * from book where price= max(price)
[多选题]要在学生成绩表中筛选出语文成绩在 85 以上的同学,可通过()
A. 自动筛选
B.自定义筛选
C.高级筛选
D.条件格式
[单选题]要想快速找出“成绩表”中成绩最好的前20名学生,合理的方法( )
A. 对成绩表进行分类汇总
B. 对成绩表按降序进行排序
C. 输入记录时按高低分录入
D. 按数据排列顺序逐条观察
[单选题]在SQL Server中 有student(学生)表,包含字段:Sid(学号),SName(姓名),Score(成绩),现要将所有学生的成绩加10分,下列SQL语句正确的是()。
A.Update student set Score=Score+10 where Sid=1
B.Update * set Score=Score+10
C.Update * from student set Score=Score+10
D.Update student set Score=Score+10
[单选题]在 MySQL 中,数据库中有学生表,包括姓名、学科、成绩、序号四个字段,其中最适合做主键的字段是()。
A.姓名
B.学科
C.成绩
D.序号
[单选题]PPP报头中有多个字段并没有使用,如寻址字段,这些字段为什么还有存在的必要
A.为未来预留
B.向下兼容
C.虽然PPP无需这些字段,但是HDLC需要
D.为了适应多点网络的场景
[单选题]在Excel中有一个数据非常多的成绩表,从第二页到最后均不能看到每页最上面的行表头,应如何解决 ( )
A. 设置打印区域
B. 设置打印标题行
C. 设置打印标题列
D. 无法实现
[单选题]现有书目表book,包含字段:价格price (float),类别type(char); 现在查询各个类别的平均价格、类别名称,以下语句正确的是(选一项)
A.select avg(price),type from book group by type
B.select count(price),type from book group by price
C.select avg(price),type from book group by price
D.select count (price),type from book group by type

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码