I am trying to execute a query in which I will concatenate two columns of mysql name and surname , and perform the update of this concatenation in the variable full name in all records of the table.
Follow the code:
UPDATE eskalera.curriculum
SET
nomecompleto = (
SELECT CONCAT(nome, ' ', sobrenome)
from eskalera.curriculum
)