-6
Since no information was passed on to the structure of the case, a more "standardized" example to address the doubt would be:
UPDATE funcionario SET funcao = 'Gerente de programação' WHERE funcao = 'Programador de Computador'
.
The SET
will assign the desired value in the given field and the WHERE
will filter which records will undergo the change according to the informed condition.
Update YOUR TABLE NAME set COLUMN NAME = "Programming Manager" Where COLUMN NAME = "Computer Programmer";
– Lucas Brogni
Welcome! Take the tour and meet Stackoverflow in English.
– Tomás Barcellos
@Joãovitorcastilhogamba It is preferable that you add this information in the question itself rather than spread it by the comments. Just click on [Edit] (just below the question) and add the information. See also this link, that gives tips on how to format the code in the question.
– hkotsubo
@hkotsubo ready is edited.
– João Vitor Castilho Gamba