Skip to main content

mysql update with random values from list

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

Comments

Comments powered by Disqus