您好,欢迎访问一九零五行业门户网

MySQL在指定列之前或之后插入列 (Add a column to an existing M

to add a column called email to the contacts table created in create a basic mysql table with a datatype of varchar(80), use the following sql statement: alter table contacts add email varchar(60); this first statement will add the email c
to add a column called email to the contacts table created in create a basic mysql table with a datatype of varchar(80), use the following sql statement:
alter table contacts add email varchar(60);
this first statement will add the email column to the end of the table. to insert the new column after a specific column, such as name, use this statement:
alter table contacts add email varchar(60) after name;
if you want the new column to be first, use this statement:
alter table contacts add email varchar(60) first;
其它类似信息

推荐信息