怎样在原有的表上添加一个新字段?????

解决方案 »

  1.   

    ALTER TABLE tb ADD 列名 类型
      

  2.   

    alter table tb add 新字段 字段类型
      

  3.   


    alter table tablename add colname 字段类型
      

  4.   

    alter table tableName add col int not null primary key
      

  5.   

    alter table 表名 add 字段名 类型
      

  6.   

    原表名 tb 新字段 tele 类型 int
    alter table tb add  tele int 
      

  7.   

    如:alter table 表名 add 字段名 varchar(10)