2008-03-06 16:31:32
1)
create table student
(
学号 int primary key,
姓名 varchar(50) not null,
年龄 int not null,
性别 varchar(2) not null,
家庭住址 varchar(50) not null,
联系电话 int not null
)
2)
alter table student add 学历 varchar(10) not null
3)
alter table student drop column 家庭住址
4)
insert into student values(1,'A',22,'男',123456,'小学')
insert into student values(2,'B',21,'男',119,'中学')
insert into student values(3,'C',23,'男',110,'高中')
insert into student values(4,'D',18,'女',114,'大学')
..
2008-03-06 16:30:47
2008-03-05 16:12:49