提交 2b2bad97 authored 作者: 戚鸿镇's avatar 戚鸿镇

更新 扫码二次统计方案( 第三版).md

上级 1435e343
......@@ -225,7 +225,6 @@ select count(*) as k,day, dealer_id,store_id, product_id from ydd_fw_scans group
```
select count(*) from (
select
count(distinct(a.member_id)) as user_num,
......@@ -250,15 +249,15 @@ left join
where
a.day = 20240212
group by s.day,s.dealer_id, s.store_id, s.product_id, s.province_id, s.city_id, s.district_id
group by s.day,s.dealer_id, s.store_id, s.product_id, s.province_id, s.city_id, s.district_id, s.street_id
) as a;
+----------+
| count(*) |
+----------+
| 10001 |
| 15625 |
+----------+
1 row in set (0.83 sec)
1 row in set (1.17 sec)
```
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论