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 trialSam Beattie
2,413 PointsNot sure what I have wrong. Can you help?
Sam Beattie
2,413 PointsI've tried this: SELECT Model.ModelName, Car.VIN, Car.StickerPrice FROM Model INNER JOIN Car ON Model.ModelID = Car.ModelID;
And this: SELECT Make.MakeName, Model.ModelName, Car.VIN, Car.StickerPrice FROM Make INNER JOIN Model ON Make.MakeID = Model.MakeID INNER JOIN Car ON Model.ModelID = Car.ModelID;
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsWhich of the 5 challenge steps are you having trouble with? I ran that first SQL query and it worked for challenge 1
Sam Beattie
2,413 Points3rd challenge, where I've tried this: SELECT Sale.saleDate, Sale.saleAmount, SalesRep.firstName, SalesRep.lastName FROM Sale LEFT OUTER JOIN SalesRep ON Sale.salesRepId = SalesRep.salesRepId;
Yassin Chiguer
5,228 PointsHi Sam, noticed your latest query is for challenge #5 not #3 which appears to be correct.
2 Answers
Yassin Chiguer
5,228 PointsFor the 3rd challenge try this: select salesrep.firstname,salesrep.lastname,sale.saleamount from sale INNER JOIN salesrep ON sale.salesrepid=salesrep.salesrepid
Sam Beattie
2,413 PointsThis didn't work. It's still saying I'm missing the "IN" keyword. And yes, it's challenge 3 I'm referring to.
Yassin Chiguer
5,228 PointsPlease can you share the complete question to the challenge you are encountering an issue?
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsBrendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsWhat SQL query are you putting in?