摘要: 1,排序,根据总分 增加序号 表结构: sql: SET @row=0; SELECT b.*, @row:=@row+1 rownum FROM ( select *,SUM(a.achievement) as achievementAll from cp_cj as a where 1=1 GR 阅读全文
posted @ 2018-05-15 10:58 JaneAi 阅读(1583) 评论(0) 推荐(0) 编辑