Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


SQL Error: ambiguous column name: title

multiple conditions challenge 2

György Varga
György Varga
19,198 Points

Hi! Can you please post your code and the link to the challange?

1 Answer

Steven Parker
Steven Parker
220,450 Points

Since you didn't show your code or reference the challenge I'm taking a guess here. But I think it's likely that you might see that error when you JOIN two tables that both have a column named title. So if you want to show that column, or use it in a filter clause, you need to fully specify it by putting the name of the table it comes from before the column name, and separate them with a period. For example, if it came from a table named "books" then instead of just "title" you would write "books.title".

Let me know if I guessed the issue, and if not, please show the actual code and provide a link to the course.