joseph of Offer Space
10/2/2019 - 8:55 PM

Free Order Abuse Query

SELECT *
FROM customer_service_actions
where action = 'customer-order'
  and (amount = 0 OR amount is null)
group by customer_id
having count(*) > 1;