update testdata.test
set abcd = (select abc
from DATA1
order by random()
limit 1
)
Doing this only makes one random entry from table DATA1 is getting populated in all the rows of TEST table.
What I need is - > to generate each row with random entry from DATA 1 table to TEST table
abcappear more than once in the result set?