mysql>mysql> CREATE TABLE myTable -> ( -> ID SMALLINT UNSIGNED NOT NULL, -> Year YEAR NOT NULL, -> City VARCHAR(40) NOT NULL DEFAULT 'Unknown' -> ) -> ENGINE=INNODB;Query OK, 0 rows affected (0.08 sec)mysql>mysql> desc myTable;+-------+----------------------+------+-----+---------+-------+| Field | Type | Null | Key | Default | Extra |+-------+----------------------+------+-----+---------+-------+| ID | smallint(5) unsigned | NO | | | || Year | year(4) | NO | | | || City | varchar(40) | NO | | Unknown | |+-------+----------------------+------+-----+---------+-------+3 rows in set (0.00 sec)mysql>mysql> drop table myTable;Query OK, 0 rows affected (0.03 sec)
Name (required)
email (will not be published) (required)
Website