TINYINT

TINYINT #

TINYINT, INT8, I8 defines 8-bit integer.

All integer types are signed and can be used in arithmetical operations or as part of the primary or secondary key.

The supported range is from -128 to 127.


select 123;
[123]
create table example (id int8 primary key);
insert into example values (1), (2), (3);
select id from example;
[1, 2, 3]