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 trial

PHP Integrating PHP with Databases Using Relational Tables Querying Multiple Tables with JOIN

Alex Forseth
Alex Forseth
8,017 Points

Is the database diagram what Alena is referencing when she says "that it is on the left"?

In this lesson Alena states:

"This allows us to select the details from the books table only if they exist. We'll actually specify this as a left outer join, because the table on the left,the media table, is the main query table."

Can someone give me directions? Is the Database Table in the teachers notes how I reference these directions?

1 Answer

Henry Lin
Henry Lin
11,636 Points

Hi Alex, left part refers to Media table. Check out this for more information about OUTER JOIN https://www.w3schools.com/sql/sql_join_left.asp