# BETWEEN Keyword

### Description

Selects values within a given range

### Syntax

```sql
expression BETWEEN low_value AND high_value
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _value_ | Input value | Any | Yes |
| _low_ | Lower bound of the range (inclusive) | Any | Yes |
| _high_ | Upper bound of the range (inclusive) | Any | Yes |

#### Notes

-   Returns TRUE if `expression >= low_value AND expression <= high_value`
-   Returns NULL if any operand is NULL

### Example

```sql
SELECT
    id
FROM
    rippling.employee.Employee
WHERE
    salary BETWEEN 50000 AND 100000;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/between

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
