按季度查詢數據

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
相關文章
相關標籤/搜索