> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# bitmap_remove

> Removes input from the Bitmap value lhs and returns a result set.

Removes `input` from the Bitmap value `lhs` and returns a result set.

## Syntax

```Haskell theme={null}
bitmap_remove(BITMAP lhs, BIGINT input)
```

## Examples

```plain text theme={null}
mysql> select bitmap_to_string(**bitmap_remove**(bitmap_from_string('1, 3'), 3)) cnt;
+------+
|cnt   |
+------+
|1     |
+------+

mysql> select bitmap_to_string(**bitmap_remove**(bitmap_from_string('1,3,5'), 6)) cnt;
+------+
|cnt   |
+------+
|1,3,5 |
+------+
```

## keyword

BITMAP\_REMOVE, BITMAP


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.