MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and BIGINT. The following table shows the required storage and range for each integer type.
MySQL支持標準整型類型INTEGER (or INT) 和 SMALLINT窄陡,作為標準的一個擴展拍嵌,MYSQL也支持TINYINT、MEDIUMINT、BIGINT,下面的表格展示了每種整型的存儲范圍佳励。
mysql.png
詳見 https://dev.mysql.com/doc/refman/8.0/en/integer-types.html