- 博客(3)
- 收藏
- 关注
原创 SQL语句,检索至少选修了“S001”所学课程的学生名单
关系 Student,SC,Course,Teacher Student(Snum,Sname,Ssex,Sage) SC(Cnum,Cname,Tnum) Course(Cnum,Cname,Tnum) select * from Student where Snum in ( select distinct Snum from SC x where not exists ( select * from SC y where y.Snum='S001' and not ex
2020-08-28 23:22:25
926
原创 SQL语句,检索至少选修了数据结构和大学英语的学生名单
关系 Student,SC,Course,Teacher Student(Snum,Sname,Ssex,Sage) SC(Cnum,Cname,Tnum) Course(Cnum,Cname,Tnum) select * from Student where Snum in (select Snum from SC,Course where SC.Cnum=Course.Cnum and (Cname in('数据结构','大学英语')) group by Snum having count(*)>
2020-08-28 23:18:39
2308
原创 C语言栈实现数据结构括号匹配问题
利用顺序栈的操作函数 typedef char SElemType; #include"Stack.h" int kuohaopipei() { char p; SqStack s; char temp; InitStack(s); p=getchar(); while(p!='\n') { if(p=='('||p=='['||p=='{') Push(s,p); else if(p==')'||p==']'||p=='}') { i
2020-08-25 22:34:31
451
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人