如下图:将订单表dd中,dd_date时间 在统计表start_date,end_date区间内1cusT_id的不重复个数,更新到 统计表的tj_dec01字段,如下图需要回填的个数是:3
统计表TJ:id,tj_dec01,start_date,end_date
           1     3      2010-06-12 2010-06-25 订单表dd:id,cust_id,dd_date
           1    12     2010-06-12  
           2    22     2010-06-18
           3    15     2010-06-20
           4    12     2010-06-22  
           5    12     2010-06-24