I am trying to get a MySQL update done, which should be very easy, when the query runs if the value is 0 then it will be set to 1, if it is 1 then it will be set to 0.
update agents set manual_import = 0 if manual_import =1,set manual_import = 1 if manual_import = 1
There are so many examples on there but which one is the easiest?