I have a column in my table titled \'authorised\'. Its default is 0. It needs to be changed to 1 when the user is authorised, but it must be able to be reset to 0. I know I
UPDATE users SET `authorised` = IF (`authorised`, 0, 1)