select distinct date(order_time) dt, (select round(sum(if(start_time is null, 0, 1))/7, 2) from tb_get_car_order where timestampdiff(day, date(order_time), date(torder.order_time)) between 0 and 6) finish_num_7d, (select round(sum(if(start_time is null, 1, 0))/7, 2) from tb_get_car_order where tim...