按季度查询数据

select year, sum(case when jidu  =1 then mount end )as '1季度', sum(case when jidu  =2 then mount end )as '2季度', sum(case when jidu  =3 then mount end )as '3季度', sum(case when jidu  =4 then mount end )a
相关文章
相关标签/搜索