方法 1. show create table table_name;可以用这个看表的代码. show create table Strings; 方法 2. show full columns from table_name; show full columns from Strings; 方法 3. show columns from table_name; show columns from Strings; 方法 4. describe table_name;…
MySQL修改表的语法=========================增加列[add 列名]=========================①alter table 表名 add 列名 列类型 列参数[加的列在表的最后面] 例:alter table test add username char(20) not null default ''; alter table test add birth date not null default '0000-00-00'; ②alter tabl…