You need to know the column names but something like this should work. INSERT INTO table_2 (column1, column2, date_column) SELECT column1, column2, NOW() FROM table_1 ORDER BY rand() LIMIT 1;