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.

Databases Reporting with SQL Working with Text Creating Excerpts

Unsure of Where I Have Gone Wrong in My Code

Hi, so I am trying to complete this question and I thought I got it right, however when I click "Recheck work" is displays the following:

Bummer: Expecting results like 'L Chalkley' not 'L Chalkley'.

My code is displayed below, but I am really unsure of where I have gone wrong, since the error message looks like I am right, however it says I am wrong.

I would appreciate some clarification in my solution code please.



1 Answer

Steven Parker
Steven Parker
217,557 Points

Always show your code to allow the most specific answer. But I'd guess that since the error message makes it look like the right data is being recalled, the problem is likely the result of returning either the wrong number of columns, or in not applying the required alias properly.

Add a comment with your code if you still need help.