select a.studentno, a.studentname, b.classname
from students a, classes b
where a.classid(+) = b.classid;
这是右连接,即"(+)"所在位置的另一侧为连接的方向。所以上面的就是右连接。即数据最终结果是表b为准
select a.studentno, a.studentname, b.classname
from students a, classes b
where a.classid(+) = b.classid;
这是右连接,即"(+)"所在位置的另一侧为连接的方向。所以上面的就是右连接。即数据最终结果是表b为准