Kindly try the below code: SELECT
COUNT(DISTINCT CONCAT(post_visid_high, post_visid_low, visit_num, visit_start_time_gmt)) AS Bounces,
DATE(date_time) AS Day
FROM
table
WHERE
exclude_hit = '0'
AND visit_page_num = '1'
AND visit_num = '1'
AND page_event NOT IN ('10', '11',...