Got a big table and I want to add a column that has a randomly chosen number for each record. 1, 2, or 3.
Having a hard time. Any ideas?
Do this
UPDATE tableName SET columnName = FLOOR(RAND( ) + RAND( ));