正在加载图片...
007.2.1修改表结构 MySQL 案例1:在ⅹscj数据库的xs表中,增加“奖学金等级”列。 alter table xs add奖学金等级 tiny int; 案例2:在数据表dept1中添加一个nt类型的字段 column2,并设 置为该表的第一个字段。 alter tab le dept1 add column2 int first; MySQL数据库应用》http:/mysq!xg.hactcm.edu.cn 第7页《MySQL数据库应用》 http://mysql.xg.hactcm.edu.cn/ 第 7 页 7. 2.1 修改表结构 案例1:在xscj数据库的xs表中,增加“奖学金等级”列。 alter table xs add 奖学金等级 tinyint; 案例2:在数据表dept1中添加一个int类型的字段column2,并设 置为该表的第一个字段。 alter table dept1 add column2 int first;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有