You can concat all values, and get the total i
value. Then you can filter by this field, knowing that if at least one of the group has a 1 it will appear
selec customer_id, text from
(SELECT customer_id, GROUP_CONCAT(text,' ') as text, sum(i) as total FROM table
WHERE i = 1
GROUP BY customer_id) T
where total > 0