Mysql基础使用(适合新手练习)

题目要求:​

使用命令:


题目要求:

话不多说,直接上答案。

使用命令:

①:show databases;//查看该库下几个表

②:desc/describe/show create table  + 表名 

 

 ③:将employees表中的birth字段修改为employees_birth

④: 修改字段sex为char(1)

 ⑤:删除字段note

 ⑥:增加字段名favorate_activity,数据类型为varchar(100)

⑦:删除表offices

⑧:将employees表面修改为employees_info

猜你喜欢

转载自blog.csdn.net/m0_65463546/article/details/127484731
今日推荐