MySQL UPDATE with random number between 1-3

后端 未结 3 564
独厮守ぢ
独厮守ぢ 2020-12-08 01:54

Got a big table and I want to add a column that has a randomly chosen number for each record. 1, 2, or 3.

Having a hard time. Any ideas?

3条回答
提交回复
热议问题