i am working on some Mysql assignment and was asked to:
All the employees who are managers (leaders, type 'L') get a salary increase of 6%.
i tried to use this method:
UPDATE employee
SET salary = salary * '1,06'
WHERE emptype = 'L';
and i get an Error message Error Code: 1292. truncated incorrect DOUBLE value: '1,06'
When i try to DESCRIBE employee;
i can see the salary to be Type int(11)
Can someone tell what i have done wrong and how the correct codding is, and is it possible to add those 6% on the current value without changing the Type?