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 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.

Thanks,

Ola

1 Answer

Steven Parker
Steven Parker
231,275 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.