asp教程+access按年
/*
字段
表數據如下
d_id d_je d_sxrq
想按年按月來統計
如果選擇
月份
金額
如果選擇
月份
金額
*/
Select Year(D_SXRQ) As Y
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
Sum(IIF(Month(D_SXRQ) =
From D_FY
Group By Year(D_SXRQ);
From:http://tw.wingwit.com/Article/program/net/201311/14430.html