iposdb数据库 date函数优化

如下4条SQL,明显是2类SQL语句。2017年5月19号 问题:走了两次全表。 select count(*) 活跃商户数量  from (select merchant_code,COUNT(DISTINCT concat(merchant_code,DATE(create_date))) merchantCodeCreateDate from pos_order where DATE(cre
相关文章
相关标签/搜索