proactive strategy exp

This commit is contained in:
2023-06-05 16:01:20 +08:00
parent bc3c600be0
commit b55a313c95
11 changed files with 39 additions and 11 deletions

View File

@@ -0,0 +1,20 @@
select * from
(select s_id, ts, count(id) as num_dis_firm from
iiabmdb.with_exp_result
where ts > 0
group by s_id, ts) as a
where a.num_dis_firm > 3;
select * from
iiabmdb.with_exp_result
where s_id = '54170';
SELECT * FROM iiabmdb.with_exp_sample where id='54170';
SELECT max(id) FROM iiabmdb.with_exp_sample;
select * from
(select s_id, id_firm, id_product, ts, count(id) as num_dup from
iiabmdb.with_exp_result
where ts > 0
group by s_id, id_firm, id_product, ts) as a
where a.num_dup > 1;