統計每日單量MySQL語句

-- 每日單量 select DATE_FORMAT(createtime,'%Y-%m-%d') as days,count(*) count from ibt_shop_order group by days; -- 每週單量 select DATE_FORMAT(createtime,'%Y-%u') as weeks,count(*) count from ibt_shop_order g
相關文章
相關標籤/搜索