mysql>
mysql>
mysql> CREATE TABLE myTable
-> (
-> ID SMALLINT UNSIGNED NOT NULL,
-> City VARCHAR(40) NOT NULL DEFAULT 'Unknown'
-> );
Query OK, 0 rows affected (0.05 sec)
mysql>
mysql> desc myTable;
+-------+----------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+----------------------+------+-----+---------+-------+
| ID | smallint(5) unsigned | NO | | | |
| City | varchar(40) | NO | | Unknown | |
+-------+----------------------+------+-----+---------+-------+
2 rows in set (0.01 sec)
mysql>
mysql> drop table myTable;
Query OK, 0 rows affected (0.00 sec)
mysql>
|