Have used the below query: SELECT date, COUNT(*) as bounces FROM ( SELECT date(date_time) AS date, COUNT(*) AS bounce FROM `datafeedtable` WHERE exclude_hit = '0' AND hit_source NOT IN ('5','7','8','9') AND date_time BETWEEN ('2024-07-01 00:00:00') AND ('2024-07-01 23:5...