摘要:
Create table stud (sno char(8) primary key, sname char(4) not null unique, --学生姓名 ssex char(2) default '男' check(ssex='男' or ssex='女'), sage t... 阅读全文
摘要:
insert into student(sno,sname,sage)values ('95030','李莉',18)//插入如下学生记录(学号:95030,姓名:李莉,年龄:18)insert into sc(sno,cno)values('95030',1)//插入如下选课记录(95030,1)... 阅读全文
摘要:
select student.sno,sname,ssex,sage,sdept,cno,gradefrom student,scwhere student.sno=sc.sno//查询每个学生及其选课情况;select first.cno,second.cpnofrom course first... 阅读全文
摘要:
实验三:select sno,sname from student;//(1)查询全体学生的学号和姓名select * from student;//(2)查询全体学生的详细记录select sname,sage,sdept from student where sdept='... 阅读全文