34,576
社区成员
发帖
与我相关
我的任务
分享
select a.stu_name,b.course from student a ,course b,stu_cou c
where a.stu_id=c.stu_id and b.cou_id=c.cou_id
select a.stu_name,b.course from student a ,course b,stu_cou c
where a.stu_id=c.stu_id and b.cou_id=c.cou_id
SELECT student.stu_name
,course.cou_name
FROM stu_cou
INNER JOIN student ON student.stu_id=stu_cou.stu_id
INNER JOIN course ON course.cou_id=stu_cou.cou_id
SELECT stu_name,cou_name from student a
join stu_cou b on a.stu_id=b.stu_id
join course c on c.cou_id=b.cou_id
select a.stu_name, c.cou_name from student a
left join stu_cou b on a.stu_id=b.stu_id
left join course c on b.cou_id=c.cou_id
SELECT stu_name,cou_name FROM student S JOIN stu_cou C ON S.stu_id=C.stu_id JOIN course CC ON CC.cou_id=C.cou_id
select stu_name,cou_name
from student s ,course c ,stu_cou sc
where s.stu_id=sc.stu_id and c.cou_id=sc.cou_id
select stu_name,cou_name
from student s ,course,stu_cou sc
where s.stu_id=sc.stu_id and c.cou_id=sc.cou_id