Answers:
创建表后是要更改表吗?如果是这样,则需要使用alter table,尤其是:
ALTER TABLE tablename MODIFY COLUMN new-column-definition
例如
ALTER TABLE test MODIFY COLUMN locationExpect VARCHAR(120);
语法来改变列名在MySQL的:
alter table table_name change old_column_name new_column_name data_type(size);
例:
alter table test change LowSal Low_Sal integer(4);
应该这样做:
ALTER TABLE test MODIFY locationExpert VARCHAR(120)