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 Changing Cases of Strings

bright chibuike
bright chibuike
3,245 Points

changing cases of a string

here is my code but seem not working:

SELECT first_name||UPPER(last_name)|| AS full_name, library_

2 Answers

Steven Parker
Steven Parker
231,236 Points

This query code seems to be truncated, I assume "library_" was meant to be "library_id" but it is also missing a FROM clause.

But there's also two issues with the SELECT:

  • there's an extra concatenation operator between the field and the AS
  • the names need a space added to separate them

U need not to add || after last_name and use library_id instead of library_ Hope that help