Skip to content

INT3

CREATE TABLE Test (
ID INT3,
Description VARCHAR(100)
);
INSERT INTO Test (ID, Description)
VALUES (1, 'First record'), (2, 'Second record');
SELECT * FROM Test;
+----+----------------+
| ID | Description |
+----+----------------+
| 1 | First record |
| 2 | Second record |
+----+----------------+

The code shows a table creation with two columns, “ID” and “Description”, where the data type of “ID” is INT3. It then inserts two records into this table. Finally, the SELECT statement retrieves all the records from the table displaying them as the output. The INT3 data type stores integer values, allowing for more efficient database storage.