mysql> show create table t1; +——-+———————————— | Table | Create Table +——-+———————————— | t1 | CREATE TABLE `t1` ( `id` int(11) NOT NULL, `c1` varchar(30) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk | +——-+———————————— 1 row in set (0.00 sec) mysql> show full columns from t1; +——-+————-+—————-+——+—–+- | Field | Type | Collation | Null | Key | +——-+————-+—————-+——+—–+- | id | int(11) | NULL | NO | PRI | | c1 | varchar(30) | gbk_chinese_ci | YES | | +——-+————-+—————-+——+—–+- 2 rows in set (0.00 sec) mysql>
|