Customers Who Bought Products A and B but Not C
SQL walkthrough: scan each order into a per-customer flag table, keep customers who bought A and B but never C, and return their id and name.
SQL walkthrough: scan each order into a per-customer flag table, keep customers who bought A and B but never C, and return their id and name.