join - SQL: Randomly assign value of table to another table -


i have 2 tables, , b

a pretty large, 200,00 rows, columns x1 x2 , x3. column x1 has 50 unique values, repeated.

b smaller table, 50 rows (same unique values of x1), columns x1, x4, x5

what looking accomplish to, join , b that, of unique values of a.x1 , b.x1, b.x4 randomly goes b.x5 times a.x6.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -