88问答网
所有问题
当前搜索:
查询没有被学生选修的课程名
sql语句
查询没有被学生选修
过
的课程
(即课程号没有在sc表中出现过)的...
答:
1、创建
学生
及
课程
表,create table test_student(stu_id number, class_id number);create table test_class(class_id number, class_name varchar2(30));2、插入测试数据,insert into test_student values(1,1001);insert into test_student values(2,1001);insert into test_student values(3,...
sql语句,
查询
“张小飞”
没有选修的课程名
和课程号
答:
如果所选择
的课程
为一张表里的,那么直接select courseno from table where courseno not in (select courseno from table where stuna='张小飞' ),如果为两张表,则需要关联
查询
了。
SQL语言
,很急的
答:
group by xsb.
课程名
,xsb.性别 order by xsb.课程名 3.--
查询选修
课程管理信息系统的
学生
姓名 select xsb.姓名 from 学生表 xsb,学习表 xxb,课程表 kcb where xsb.学号=xxb.学号 and xxb.课程号=kcb.课程号 and kcb.课程名='管理信息系统'4.--检索大张老师所授
课程的名称
select kcb.课程名...
access中
查询
到了一个人
选修的课程
,怎么查询他
没
选修的
答:
1)先创建一个“
学生
成绩
查询
”如下:SELECT 成绩表.*, 学生信息表.姓名 FROM 成绩表 INNER JOIN 学生信息表 ON 成绩表.学号 = 学生信息表.学号 WHERE (((学生信息表.姓名)="丁丽"));2)再创建查询如下:SELECT 选课表.课程代码, 选课表.
课程名称
FROM 选课表 LEFT JOIN 学生成绩查询 ON 选...
sql
查询
某个
学生没
选
的课程
信息:C#, Cname ,Tname,
答:
其中Cname就是课程名,Student就是学生表
(因为你没有给详细信息,我不确定你的学生表是否有课程名这个字段,如果没有,只能通过连接查询,这里略)4、综上:select * from Course where not exists (select Cname from Student Cname is not null)不知道对不对,如果不对,盼望其他人帮忙解决 ...
SQL语句
查询有
那些
课程没有被
任何
同学
报选
答:
select
课程名
from 课程表 where 课程号 not in(select 课程号 from
选修
表)
查询未被
任何
学生选修的课程
(sql)
答:
课程
表C 选课表SC select * from C c where c.id not in (select cid from SC)
...数学
课的学生
,列出
学生的
编号,姓名,所选
的课程名
,SQL语句怎么写_百度...
答:
b where a.id=b.studentid and a.id not in(select studentid from course where course='数学')select a.id,a.name,b.course from student a inner join course b on a.id=b.studentid where a.id not in(select studentid from course where course='数学')这两种方式都可以的 ...
...即
选修的课程名
和成绩),
没有
选课的学员相关
答:
SELECT s.SNAME, c.CNAME, SC.SCGRADE FROM S LEFT OUTER JOIN SC ON( S.SNO = SC.SNO )LEFT OUTER JOIN C ON ( C.CNO = SC.CNO )
数据库中,用
SQL语言
如何
查询没有选修
1号
课程的学生
姓名
答:
student--
学生
表 student_id,student_name,student_no course--
课程
表 course_id,course_name sc--
选课
信息表 student_id,course_id select from student where student_id not in (select student_id from sc where course_id in (select course_id from course where course_name = '1号课程')...
1
2
3
4
5
6
7
8
9
10
涓嬩竴椤
灏鹃〉
其他人还搜
sql查询没有被选修的课程
找出没选c3课号的学生姓名
数据库子查询没有被选修的课
查询至少有2人选修的课程名
数据库查询没有选课的学生
查询选修人数大于2的课程号
查找哪些学生没有选课
查询没有人选修的课程信息
SQL语句查找没有选课的学生