修改查询sql
This commit is contained in:
@@ -238,7 +238,7 @@
|
|||||||
select s.tools_type,case when r.xy='经济管理学院' then '长堽校区'
|
select s.tools_type,case when r.xy='经济管理学院' then '长堽校区'
|
||||||
when r.xy='信息工程学院' then '长堽校区' else '里建校区' end as xq
|
when r.xy='信息工程学院' then '长堽校区' else '里建校区' end as xq
|
||||||
from srs_at_station s inner join srs_stu_reg r on s.ksh=r.ksh where s.create_time>CURDATE()-INTERVAL 90 DAY ) t
|
from srs_at_station s inner join srs_stu_reg r on s.ksh=r.ksh where s.create_time>CURDATE()-INTERVAL 90 DAY ) t
|
||||||
group by tools_type,xq order by xq,totalnum desc
|
group by tools_type,xq order by xq,count(1) desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user