mysql>mysql> CREATE TABLE myTable -> ( -> OrderID SMALLINT UNSIGNED NOT NULL, -> ModelID SMALLINT UNSIGNED NOT NULL, -> Description VARCHAR(40), -> PRIMARY KEY (OrderID), -> UNIQUE (OrderID, ModelID) -> );Query OK, 0 rows affected (0.05 sec)mysql>mysql> desc myTable;+-------------+----------------------+------+-----+---------+-------+| Field | Type | Null | Key | Default | Extra |+-------------+----------------------+------+-----+---------+-------+| OrderID | smallint(5) unsigned | NO | PRI | | || ModelID | smallint(5) unsigned | NO | | | || Description | varchar(40) | YES | | NULL | |+-------------+----------------------+------+-----+---------+-------+3 rows in set (0.02 sec)mysql>mysql> drop table myTable;Query OK, 0 rows affected (0.00 sec)
Name (required)
email (will not be published) (required)
Website