MySQL: Simple way to toggle a value of an int field July 13, 2023 by Tarik UPDATE table SET field = 1 - field