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 trialOmolade Akinwumi
1,068 PointsJOIN
SELECT ModelName, VIN, StickerPrice FROM
I GOT STUCK. HERE IS THE QUESTION BELOW; In a car database there is a Model table with columns, ModelID, MakeID and ModelName and a Car table with columns, CarID, ModelID, VIN, ModelYear and StickerPrice.
For all cars in the database, show Model Name, VIN and Sticker Price in one result set.
1 Answer
Steven Parker
231,265 PointsAfter the FROM you need to identify the table(s) the data will be taken from. In this case, you need two tables joined together.
You might want to review the video about Inner Joins for the syntax of the INNER JOIN and ON keywords used for joining tables.
Omolade Akinwumi
1,068 PointsOmolade Akinwumi
1,068 PointsThanks a lot Steven.