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

MARSHA OURSO
MARSHA OURSO
4,312 Points

SUBSTR

I receive this error when I tried to pass this assessment. Can someone please elaborate on my error? Expecting 'L Chalkey' not 'L Chalkey'

SELECT SUBSTR(first_name, 1, 1) ||' ' AS "initial", last_name FROM customers;

1 Answer

Rick Gleitz
Rick Gleitz
47,877 Points

Hi Marsha,

Kinda looks like the same thing to me. I'm not sure why you put the ||' ' characters in there, but if you take them out, it'll pass. Hope this helps.