I am trying to update a certain percentage (i.e. 10%) from each group; however I would like to make it automated because I will be using this query often and could have up to 100 different groups. Is there any code that I can use that will have it randomized based on the # of groups and people in each group?
Group # of People 10% Changed
A 100 10
B 50 5
C 30 3
Group # of People 10% Changed
A 100 10
B 50 5
C 30 3