I want to create different random values for each line in a table, i tried the following:
select t.col1, rnd() from t;
but rnd() just created 1 random value equal for every line. is it possible create n different values for n rows just with mysql?
It works with
rand(). It creates a new random number for every row in the tableSee SQL Fiddle