I have two tables:
PlanMaster (PlanName, Product_ID)
and
ProductPoints (Entity_ID, Product_ID, Comm1, Com
I think this will do,
where s.Entity_ID == getEntity