原文:查询“001”课程比“002”课程成绩高的所有学生的学号;

select a.s id from select s id,score from SC where C ID a, select s id,scorefrom SC where C ID b where a.score gt b.score and a.s id b.s id .查询平均成绩大于 分的同学的学号和平均成绩 select S ID,avg score from sc group ...

2020-12-31 11:36 0 3954 推荐指数:

查看详情

查询每门课程成绩都大于80分学生学号

1 查询每门课程成绩都大于80分学生学号 数据库 表 studentname score courseA 85 语文A 75 数学A 82 英语B 75 语文B 89 数学B 79 英语天使美眉90 语文天使美眉100 数学天使美眉100 英语请找出每门课程都超过80分 ...

Thu Aug 25 09:23:00 CST 2016 0 5475
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM