1
zac 2014 年 6 月 28 日
select sum (s_t) as count from 表 where 2月区间, order by s_ID DESC 满足需求么
|
2
crazybubble 2014 年 6 月 28 日
SELECT s_title, sum(s_t) AS sum_s_t FROM xxxx WHERE s_date >= '2014-02-01' AND s_date <= '2014-02-28' GROUP BY s_title ORDER BY sum_s_t
|
4
Jack OP @crazybubble seems working ! thx !
|