MajP
You've got your good things, and you've got mine.
- Local time
- Yesterday, 23:45
- Joined
- May 21, 2018
- Messages
- 9,487
I added a field in your table for the random assignment.
query 1a and 1b work together.
1a demos how to do the select query
1b uses the select query to do an update query
query 2 does it all in one step.
So you can run 1b or 2 and it will update your table.
I did another query to verify the data. It is an aggregate
results are as expected 50, 30, 10, 10
query 1a and 1b work together.
1a demos how to do the select query
1b uses the select query to do an update query
query 2 does it all in one step.
So you can run 1b or 2 and it will update your table.
I did another query to verify the data. It is an aggregate
Code:
Random_Assignment CountOfRandom_Assignment
0 502
1 303
2 92
3 103