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 Joining Table Data with SQL JOIN Queries

Ambiguous Error

Why is this showing an ambiguous error? What am I doing wrong? Thank you in advance!!

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Aquoinette Blair! It would be extremely helpful to know a few things. First, which section of the challenge are you on? There are 5 steps. Secondly, what code are you trying? Finally, what error are you receiving?

Looking forward to hearing back! :sparkles:

1 Answer

My apologies. I thought the code automatically showed up because of the checked box that said show code. Now I'm receiving the error: Bummer: Your query didn't select the ModelName, VIN and StickerPrice! My code is:

SELECT ModelName, Mod.ModelID, Cars.ModelID, Cars.VIN, Cars.StickerPrice FROM Model as Mod INNER JOIN Car as Cars ON Mod.ModelID = Cars.ModelID;

Thank you.