您好,欢迎访问一九零五行业门户网

mysql-查询一个表用户对新增用户进行统计不能用not in 需要用exists

mysql
下面是用not in 实现的 ,需要修改为 exists实现
select count(*) from order_info_ref as oif where oif.order_time>='2016-03-02 00:01:00' and oif.order_time(select oi.ca_user_id from order_info_ref as oi where oi.order_time>='2016-03-01 00:01:00' and oi.order_time
其它类似信息

推荐信息