title: Query to toggle boolean value in MySQL
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/665002/is-there-a-way-in-mysql-to-reverse-a-boolean-field-with-one-query">Is there a way in MySQL to reverse a boolean field with one query?</a>  </p>
  </blockquote>
  
  
  
  <p>To update (boolean) value normally we would check if it's set to false or true, and update it, I was wondering if there's query that would toggle boolean value.</p>