1
zac 2014-06-28 00:08:06 +08:00
select sum (s_t) as count from 表 where 2月区间, order by s_ID DESC 满足需求么
|
2
crazybubble 2014-06-28 07:17:52 +08:00
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 !
|