where
not EXISTS(select * from (select *,ywsc+sxsc as total from st ORDER BY total DESC) c where c.class=b.class and b.total <c.total GROUP BY c.class HAVING COUNT(*)>2 )
ORDER BY b.class,b.total DESC
select b.obj_id, a.avg(score) avgScore from study a left join task b on a.task_id = a.id where a.class_id = ## group by b.obj_id order by a.avg(score)欢迎分享,转载请注明来源:内存溢出
评论列表(0条)