如何进行外连接查询????? select student.sno,sname,ssex,sage,sdept,sc.cno,gradfrom student as s inner join sc as c on s.sno=c.sno 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select student.sno,sname,ssex,sage,sdept,sc.cno,gradfrom student s inner join sc c on s.sno=c.sno select Student.sno,sname,ssex,sage,sdept,SC.cno,grad from Student,SC where Student.sno=SC.sno(*)亏你写得出这种的inner join是内关联找出两个表里同时都有的left join是左关联,找出第一个表所有的第一个表有,第二个表没有的时候,这个相就的地方是空right join是右关联与left join的关系好像相反第一是第二,第二是第一去看下books online吧 where与having的区别 一个让我困惑的sql查询,求高手 关于t-sql中使用【go】有什么副作用吗? 2000,20005,2008,3个版本,可以同时装在一台电脑么? 请问大家8G的数据库执行压缩要多久? 如何用存储过程写表拷贝 视图的查询结果是否可用命令筛选删除部分数据? 在visual studio 2003 中实现c#与sql server的连接?? 请问:SqlServer中表名最长可为多少字符 所有的高手都对我说,没指望了,我说我还得去数据库论坛看看! 请问:如何在SQL SERVEL创建一个表的外键?谢谢!!! 请问这个SQL怎么写(在线等待)
from student s inner join sc c on s.sno=c.sno
亏你写得出这种的inner join是内关联
找出两个表里同时都有的
left join是左关联,
找出第一个表所有的
第一个表有,第二个表没有的时候,这个相就的地方是空right join是右关联
与left join的关系好像相反
第一是第二,第二是第一去看下books online吧