Shift bits to the left. This operator shifts the binary representation of a number to the left by a specified number of positions, filling with zeros.
value1 << value2Converts a longlong (BIGINT) number (value1) to binary and shifts value2 units to the left.
This page is licensed: GPLv2, originally from
SELECT 1 << 2;
+--------+
| 1 << 2 |
+--------+
| 4 |
+--------+