BITNOT(Integer-type value)
Returns the result of the NOT operation of one integer.
Integer range: TINYINT、SMALLINT、INT、BIGINT、LARGEINT
mysql> select bitnot(7) ans; +------+ | ans | +------+ | -8 | +------+ mysql> select bitxor(-127) ans; +------+ | ans | +------+ | 126 | +------+
BITNOT