Shift bits to the right. This operator shifts the binary representation of a number to the right by a specified number of positions.
value1 >> value2
Converts a longlong (BIGINT) number (value1) to binary and shifts value2 units to the right.
SELECT 4 >> 2; +--------+ | 4 >> 2 | +--------+ | 1 | +--------+
Operator Precedence
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated 2 months ago
Was this helpful?