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` = NOT `authorised` WHERE id = 2
This query will also work to negate the field, and is more inline with boolean syntax.