(1)创建数据库stuexpm。
![](https://img-blog.csdnimg.cn/img_convert/d9cc39ce4558d140aa91bed7550acdd9.png)
(2)创建StudentInfo表,显示StudentInfo表的基本结构。
![](https://img-blog.csdnimg.cn/img_convert/ce43941da1c263cfa428ee4faec9b372.png)
(3)由StudentInfo表使用复制方式创建StudentInfo1表。
![](https://img-blog.csdnimg.cn/img_convert/1e4a851d80436bd0cf5ea0069c532f4d.png)
(4)在StudentInfo表中增加一列StuNo,添加到表的第1列,不为空,取值为一并自动增加,显示StudentInfo表的基本结构。
![](https://img-blog.csdnimg.cn/img_convert/41f1b3e6a32355adfbdcf1d42fd80798.png)
(5)将StudentInfo1表的Address列修改为City,将数据类型改为char,可为空,默认值为“北京”,显示StudentInfo1表的基本结构。
![](https://img-blog.csdnimg.cn/img_convert/114cd2ad63829c12c69c30ae18ec6df0.png)
(6)将StudentInfo1表的Speciality列修改为School,将数据类型改为char,可为空,默认值为“计算机学院”。
![](https://img-blog.csdnimg.cn/img_convert/463e03c48fe382d57c4455bfcfd3083f.png)
(7)将StudentInfo1表的City列的默认值修改为“上海”。
![](https://img-blog.csdnimg.cn/img_convert/07251a6a705ad2c0de93d84e27e811ed.png)
(8)将StudentInfo1表的City列的类型修改为varchar(20),并移到列Name之后。
![](https://img-blog.csdnimg.cn/img_convert/f398feb44b0a4bce5be10f54838b1351.png)
(9)在StudentInfo表中删除StuNo列。
![](https://img-blog.csdnimg.cn/img_convert/e593d2376b8bb68a1e5b1d1e9824664a.png)
(10)将StudentInfo1表更名为StudentInfo2表。
![](https://img-blog.csdnimg.cn/img_convert/bfed90f88ae343880fdc4066781ee675.png)
(11)删除StudentInfo2表。
![](https://img-blog.csdnimg.cn/img_convert/269dc21ec5725d7e94c370f12843cd0c.png)