表的字段修改(SQL语句)

1.添加字段
ALTER table customer add Gender char(1)
ALTER table customer add(Gender char(1))

2.修改字段名称
ALTER table customer change Address Addr char(50)
ALTER table customer change Address(Addr char(50))

3.修改字段属性
ALTER table customer modify Addr char(30)
ALTER table customer modify(Addr char(30))

4.删除字段
ALTER table customer drop Gender
ALTER table customer drop (Gender)