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

# INT

> INT is a 4-byte signed integer.

INT is a 4-byte signed integer. The value range is \[-2147483648, 2147483647].

## Examples

Create a table with an `INT` column and insert the minimum and maximum allowed values.

```sql theme={null}
CREATE TABLE intDemo (
    pk INT COMMENT "range [-2147483648, 2147483647]"
) ENGINE=OLAP
DUPLICATE KEY(pk)
DISTRIBUTED BY HASH(pk) BUCKETS 1;

INSERT INTO intDemo VALUES (2147483647), (-2147483648);
```

```Plaintext theme={null}
MySQL > SELECT * FROM intDemo;
+-------------+
| pk          |
+-------------+
| -2147483648 |
|  2147483647 |
+-------------+
```


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