CREATE TABLE statement including two column definitions, SMALLINT data type and INT data type.
mysql>
mysql>
mysql> CREATE TABLE Inventory
-> (
-> ProductID SMALLINT(4) UNSIGNED ZEROFILL,
-> Quantity INT UNSIGNED
-> );
mysql>
mysql> drop table Inventory;
Query OK, 0 rows affected (0.00 sec)
Related examples in the same category