跳到主要内容

BITMAP_MIN

bitmap_min

description

Syntax

BIGINT BITMAP_MIN(BITMAP input)

计算并返回 bitmap 中的最小值.

example

mysql> select bitmap_min(bitmap_from_string('')) value;
+-------+
| value |
+-------+
| NULL |
+-------+

mysql> select bitmap_min(bitmap_from_string('1,9999999999')) value;
+-------+
| value |
+-------+
| 1 |
+-------+

keywords

BITMAP_MIN,BITMAP