id pid per 1 1 40 2 1 60 3 2 30 4 2 40 5 2 60
i want to add constraint that for each pid(e.g. pid=1 then sum of per should not be more than 100) how can i add this constraint. constraint should be violete for pid=2 because sum of per is (30+40+60) is more than 100. How can i do this Thanks in Advance
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)