Sample Header Ad - 728x90

Replace users' names with random names

2 votes
3 answers
9246 views
How can I use SQL only on a MySQL DB to replace first and last names of real users in the users table using a random name from two related tables: random_first_names and random_last_names? Our users table contains over 250K records and each of the random tables contains over 5000 names that should be picked at random for each record in the users table. Is it possible to achieve this using SQL only?
Asked by user1525248 (131 rep)
Jun 27, 2018, 08:43 AM
Last activity: Mar 11, 2025, 08:15 AM