Is it possible in magento to filter user based on the products they have bought? For eg.
How can I get all the users who have bought product A from category B
<
You have to base your query on orders. If you want to do it by SQL query, you have to it by the following table:
Good luck