Good Day
I created a table, NEW_TABLE, from some of another table columns ,OLD_TABLE.
I added a new column ID of type double
I want to fill the values of the ID column with unique values and then make it the the NEW_TABLE key.
Is there a way to do this in MySQL with a query or a set command?
I tried something like this:
Insert into NEW_TABLE
(select generateId() , col1, col2
from ORIGINAL_TABLE)
DOUBLEand notINTorBIGINT?