0
I’m having difficulty in the UPDATE function, where I need to make a change of - 10% in the DEPARTMENT Table where the Salario attribute is from the FUNCIONARIO and DNOME DEPARTMENT table I’m trying so:
UPDATE DEPARTAMENTO,FUNCIONARIO
SET Salario = Salario - (Salario * 0.10)
WHERE Dnome = 'Administração';
What I want to do is modify the salaries of all employees of the 'administration' department, by taking out 10 percent of each salary.
This gives error 1175. " You are using safe update mode and you tried to update a table whitouth a WHERE that uses a key column . To disable safe mode toggle the option in prefferences --> Editor and Reconnect "
How can I solve?