統計每個月訂單總額

select sum(money),time from (select uid,money,DATE_FORMAT(datetime,'%y-%c')time from fx_record) as a group by time
相關文章
相關標籤/搜索