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

Bummer! Expecting results like 'L Chalkley' not 'L Chalkley'. What is the difference here?

The error message seems like its the same thing - so I'm confused on how to fix my code. Thanks for your help.

2 Answers

Steven Parker
Steven Parker
231,269 Points

To facilitate an accurate analysis and specific answer, post your complete query code along with a link to the course page you are working with.

But as a generic hint in the meantime, if the output appears to be what was expected but still considered incorrect, it could be related to the the application (or lack of) column aliases. Be sure you're returning the correct number of columns and that the column names are correct.

Remi Vledder
Remi Vledder
14,144 Points

I have the same. My query is:

SELECT UPPER(SUBSTR(username, 1, 1)) AS initial, last_name FROM customers;

What is wrong here?