Decrease salary using a SQL query

I’m making lots of assumptions since your question doesn’t have much detail. Here is some generic code assuming that everything is in 1 table:

Update employees
set salary = salary * .85 
where training_course_completed < '2012-11-15' 
and start_date > '2013-02-05'
;

Leave a Comment