Bitwise AND(&): The result is an unsigned 64-bit integer. : Bit « Data Types « MySQL Tutorial






mysql>
mysql>
mysql> SELECT 29 & 15;
+---------+
| 29 & 15 |
+---------+
|      13 |
+---------+
1 row in set (0.00 sec)

mysql>








10.2.Bit
10.2.1.BIT type column
10.2.2.Bit-Field Values
10.2.3.Bit Functions
10.2.4.Bitwise OR(|): The result is an unsigned 64-bit integer
10.2.5.Bitwise AND(&): The result is an unsigned 64-bit integer.
10.2.6.Bitwise XOR(^): The result is an unsigned 64-bit integer
10.2.7.Shifts a number to the left (<<): The result is an unsigned 64-bit integer.
10.2.8.Shifts a number to the right:>> (The result is an unsigned 64-bit integer.)
10.2.9.Invert all bits :~ (The result is an unsigned 64-bit integer.)
10.2.10.BIT_COUNT(N)