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

Databases

Challenge Task 4 of 5 What is wrong with my query?

Select Model.ModelName, Car.VIN FROM Car LEFT OUTER JOIN Model ON Model.ModelID = Car.CarID;

Steven Parker
Steven Parker
231,236 Points

Please provide a link to the challenge page.

2 Answers

Good Answer

Steven Parker
Steven Parker
231,236 Points

Thanks, but did you perhaps select the wrong "best answer"? Normally, it would be the one that actually contains a suggestion or solution. :wink:

Steven Parker
Steven Parker
231,236 Points

Without seeing the actual challenge, I'd guess that the ON part of the JOIN clause is incorrect, based on the fact that it appears to be trying to match two different kinds of things.

Thanks, but i already have surpassed the challenge. It took some more effort on my part.