SQL query to find new customer IDs on every day that did not exist in the previous day – Mysql
Find new customer_ids for each day in an orders table. This means I want to compare each day with previous days to find the ones existing in that day but not in earlier day. Table: order_id order_date customer_id 1 2023-03-27…