Mega Code Archive

 
Categories / MySQL / Function
 

The is the right shift operator

mysql> mysql> SELECT 3 >> 1; +--------+ | 3 >> 1 | +--------+ |      1 | +--------+ 1 row in set (0.00 sec) mysql> mysql> SELECT 19 >> 3; +---------+ | 19 >> 3 | +---------+ |       2 | +---------+ 1 row in set (0.00 sec) mysql> mysql> SELECT 4 >> 3; +--------+ | 4 >> 3 | +--------+ |      0 | +--------+ 1 row in set (0.00 sec) mysql>