在体检登记关系Checklist(Cname,csex,cage,cno,cdate,cunit,dno)中,删除属性cage,可选用的SQL语句是
举一反三
- No sooner _________ the bird flew away. A: had Jim opened the cage than B: Jim opened the cage when C: did Jim open the cage when D: Jim opened the cage than
- Hardly ( ) when the parrot flew out and settled in the tree outside. A: had Mary opened the cage B: Mary opened the cage that C: did Mary open the cage D: Mary opened the cage when
- A tour to the giant bird cage will be guided by ______.
- 已知有学生关系S(SNO,SNAME,AGE,DNO),各属性含义依次为学号,姓名、年龄和所在系号;学生选课关系SC(SNO,CNO,SCORE),各属性含义依次为学号、课程号和成绩。分析以下SQL语句:SELECT SNO FROM SC WHERE SCORE = (SELECT MAX(SCORE) FROM SC WHERE CNO=’002’) 简述上述语句完成的查询操作是
- 假定学生关系是S(SNO,SNAME,SEX,AGE),其属性是学号,姓名,性别,年龄;课程关系是C(CNO,CNAME),属性是课程号,课程名;学生选课关系是SC(SNO,CNO,GRADE),属性是学号,课程号,成绩。要查找选修“COMPUTER”课程的“女”学生姓名,将涉及到关系有()、()、(),SQL语句为:SELECTSNAMEFROMWHERES.SNO=SC.SNOANDSC.CNO=C.CNOAND();查询所有课程都及格的学生学号,姓名,SQL语句为:SELECTSNO,SNAMEFROM()WHERE()(SELECT*FROMSCWHERES.SNO=SC.SNOAND())。