mysql update with random values from list


Posted:   |  More posts about MySQL Databases

“UPDATE book set year = ELT(1+FLOOR(RAND()*3), 2012,2013,2014)”

Comments powered by Disqus