This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Left outer join Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Left outer join" Watch "Left outer join" New topic
Author

Left outer join

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
WHEN TO USE A LEFT OUTER JOIN?


Thanks,
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Typically you would use this when you have a nullable foreign key or some other situation when you want stuff in the left table returned, regardless of whether there are any matching results on the right side of the join.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Left outer join
 
Similar Threads
left outer join Vs right outer join
Joining 3 Tables
are these join same
SQL Join for two different columns
How to use Left outer join in EJB 3.0