SQL 同比環比增長率計算

同比: SELECT DISTINCT     B.dateM,B.dateY,B.Total,B.Total+B.Total*AVG( B.per ) OVER ( PARTITION BY B.dateM ) as predictionTotal     ,    AVG( B.per ) OVER ( PARTITION BY B.dateM ) AS [AvgPer]     ,MAX(
相關文章
相關標籤/搜索