实验三
insert into student values('95001','李勇','男','20','cs' ) go insert into student values('95002','刘晨','女','19','is') go insert into student values('95003','王敏','女','18','ma') go insert into student values('95004','张立','男','19','is') go select * from student go insert into course values('1','数据库',null,'4') go insert into course values('2','数学',null,'2') go insert into course values('3','信息系统',null,'4') go insert into course values('4','操作系统',null,'3') go insert into course values('5','数据结构',null,'4') go insert into course values('6','数据处理',null, '2') go insert into course values('7','pascal语言',null,'4') go select * from course go update course set cpno=5 where cno=1 go update course se t cpno=1 where cno=3 go update course set cpno=6 where cno=4 go update course set cpno=7 where cno=5 go update course set cpno=6 where cno=7 go insert into sc values('95001','1','92') go insert into sc values('95001','2','85') go insert into sc values('95001','3','88') go insert into sc values('95002','2','90') go insert into sc values('95002','3','80') go select * from sc go delete from sc go delete from student go delete from course go