mysql> mysql> mysql> CREATE TABLE myTable -> ( -> ID SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, -> Name VARCHAR(40) NOT NULL, -> PRIMARY KEY (ID) -> ); Query OK, 0 rows affected (0.03 sec)
mysql> mysql> desc myTable; +-------+----------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+----------------------+------+-----+---------+----------------+ | ID | smallint(5) unsigned | NO | PRI | NULL | auto_increment | | Name | varchar(40) | NO | | | | +-------+----------------------+------+-----+---------+----------------+ 2 rows in set (0.00 sec)