SET SESSION group_concat_max_len = 1000000;
SELECT rental_date, GROUP_CONCAT(customer.customer_id SEPARATOR ','),count(*), store_id FROM rental
JOIN customer ON customer.customer_id = rental.customer_id
GROUP BY rental_date, store_id
HAVING COUNT(*)>1