First add a column with the appropriate data type.
ALTER TABLE table1 ADD COLUMN Age TINYINT UNSIGNED NOT NULL DEFAULT 0;
Then refresh the table so that the values ββare "passed".
UPDATE table1 t1 INNER JOIN tabel2 t2 ON t1.id = t2.id SET t1.Age = t2.Age
source share