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 Querying Relational Databases Subqueries Subqueries

Teacher Russell
Teacher Russell
16,873 Points

https://teamtreehouse.com/library/querying-relational-databases/subqueries/subqueries

So, ModelID is only serving as the JOIN condition, is that right? It confused through the video why the ID's were being selected at all when they're not being used. I can't say I understand yet, the value of these queries, but I may be starting to recognize how they are written. Maybe. Just not so clear on the why or how it can't be done some other way.

This is in regard to the subqueries portion of the course, to which this challenge is referring to.

1 Answer

Tyler B
Tyler B
5,787 Points

Having a hard time understanding the problem statement in your question. Can you name the specific video that is confusing you?