mysql> mysql> CREATE TABLE myTable -> ( -> ID SMALLINT UNSIGNED NOT NULL, -> Name VARCHAR(40) NOT NULL, -> INDEX (Name) -> ); Query OK, 0 rows affected (0.01 sec)
mysql> mysql> mysql> desc myTable; +-------+----------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+----------------------+------+-----+---------+-------+ | ID | smallint(5) unsigned | NO | | | | | Name | varchar(40) | NO | MUL | | | +-------+----------------------+------+-----+---------+-------+ 2 rows in set (0.02 sec)