1个回答
展开全部
describe employee
-> ;
+--------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+-------------+------+-----+---------+----------------+
| employeeID | int(11) | NO | PRI | NULL | auto_increment |
| name | varchar(80) | YES | MUL | NULL | |
| job | varchar(30) | YES | | NULL | |
| departmentID | int(11) | NO | | | |
+--------------+-------------+------+-----+---------+----------------
alter table employee change column name xm varchar(70)
-> ;
+--------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+-------------+------+-----+---------+----------------+
| employeeID | int(11) | NO | PRI | NULL | auto_increment |
| name | varchar(80) | YES | MUL | NULL | |
| job | varchar(30) | YES | | NULL | |
| departmentID | int(11) | NO | | | |
+--------------+-------------+------+-----+---------+----------------
alter table employee change column name xm varchar(70)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询