I need to run an SQL query that picks a random number from list and updates a specific column with it.
List of numbers:
(101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122)
rand table: (structure)
id rand type
1 0 false
2 0 true
3 0 false
4 0 true
5 0 true
I need to pick random number from list and update "rand" column,