摘要: mysql> select * from (select @n:=@n+1 as n, a.* from (select * from result order by subjectno,studentresult desc)a,(select @n:=0)b)c where c.n%18<6 an 阅读全文
posted @ 2018-08-15 16:32 annofyf 阅读(856) 评论(0) 推荐(0) 编辑