Can someone tell me the difference between an inner join and an outer join? Also if you have any good references or web sites where they have info about SQL Statements please let me know .<br>Thanks
Select empname, deptname<br>From emp, dept<br>Where emp.deptno = dept.deptno<br><br>That's an inner join - nothing wrong with it - but if there's a null emp.deptno the query will skip that record altogether.<br><br>Select empname, deptname<br>From emp, dept<br>Where emp.deptno = dept.deptno (+)<br><br>That's an outer join, will return blank deptname for emp recs with a null emp.deptno<br><br> <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.