Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjun cheng wong
17,021 PointsTask #3
Can I use Outer Left instead of the inner one?
SELECT books.title, patrons.first_name,
patrons.last_name, patrons.email,
loans.loaned_on, loans.return_by, loans.returned_on
FROM books OUTER LEFT JOIN loans, patrons;
1 Answer
cgeorge
5,493 PointsHello, the answer to your question depends on what you want returned. Outer join and inner joins are not interchangeable. I would recommend reading the following document. https://github.com/treehouse/cheatsheets/blob/master/querying_relational_databases/cheatsheet.md
GOOD LUCK! keep coding.