tb_score(stuid,coid,score)成绩表,查询平均分大于60的所有学生的学号和平均成绩(平均成绩保留2位小数):

select stuid,cast(avg(score) as decimal(10,2)) as avgscore from tb_score order by stuid having avg(score)>60

相关文章:

  • 2021-05-16
  • 2021-07-03
  • 2022-12-23
  • 2021-05-21
  • 2021-07-31
  • 2021-11-09
  • 2021-05-25
猜你喜欢
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案