Mysql – Query to only return parent table if all subquery has multiple conditions true
I want to ONLY select customers who have purchased both products 22 and 36 Customers Id Email Name 1 [email protected] Jack 2 [email protected] Robin 3 [email protected] Pop Sales Id CustId ProdId Amount 1 1 22 100 2 2 22 100…