(1)创建数据库。
![](https://i-blog.csdnimg.cn/blog_migrate/9fd33ee358b744abd29e287c6b938d44.png)
(2)创建StudenInfo表,显示StuedentInfo表的基本结构。
![](https://i-blog.csdnimg.cn/blog_migrate/c4e5f2b64de1223a943bdb1d7183898d.png)
(3)由StudentInfo表使用复制方法创建StudentInfo1表
![](https://i-blog.csdnimg.cn/blog_migrate/46adb957ec2777f6cca906e307527c05.png)
(4)在StudentInfo表中增加一例StuNo,添加到表的第一列,不为空,取值唯一并自动增加,显示StudentInfo表的基本结构。
![](https://i-blog.csdnimg.cn/blog_migrate/efb97272c9fef478cab6201d9af472ac.png)
(5)将StudentInfo1表的Address列修改为City,将数据类型改为char,可为空,默认值为"北京",显示StudentInfo1表的基本结构。
![](https://i-blog.csdnimg.cn/blog_migrate/d4cb79874484e385704da86f0df65798.png)
(6)将StudengInfo1表的Speciality列修改为School,将数据类型改为char,可为空,默认值为"计算机学院"。
![](https://i-blog.csdnimg.cn/blog_migrate/e4981ea36a575302f75cade877824470.png)
(7)将StudentInfo1表的City列的默认值修改为"上海"。
![](https://i-blog.csdnimg.cn/blog_migrate/8a3433bb88e0f22531178b8789d15702.png)
(8)将StudentInfo1表的City列的类型修改为varchar(20),并移到列Name之后。
![](https://i-blog.csdnimg.cn/blog_migrate/aca024edc82664a5ed3cc33b09b09687.png)
(9)将StudentInfo1表中删除StuNo列。
![](https://i-blog.csdnimg.cn/blog_migrate/ede5814feba6c7ae0c43e7580cf90424.png)
(10)将StudentInfo1表更名为StudentInfo2表。
![](https://i-blog.csdnimg.cn/blog_migrate/3d9a83772428deb325a9befd81b3bc57.png)
(11)删除StudentInfo2表。
![](https://i-blog.csdnimg.cn/blog_migrate/fa5bfe57bb1f6b60bc4913f627ebc315.png)