oracle 多表连接 连接类型关键字的什么作用

如题所述

以两表为例:
有以下两张表:

现在要通过deptno字段,在查询中显示emp表中全部内容和dept表中的dname字段。

可用如下语句:
select a.*,b.dname from emp a,dept b where a.deptno=b.deptno;

查询结果:
温馨提示:答案为网友推荐,仅供参考
相似回答