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 trialeva sokolovsky
8,111 PointsWhat I'm doing wrong ?
This is my code SELECT first_name || " " || last_name || " " || "<" || email || ">" || "." AS "to field" FROM patrons;
2 Answers
eva sokolovsky
8,111 PointsHi. The code challenge is https://teamtreehouse.com/library/reporting-with-sql/working-with-text/concatenating-text Thanks for you answer
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi Eva, As I suspected you need to change the alias to "to_field", so you're almost there.
You also need to remove the "." part of your concatenation as that is not part of the query that the challenge is looking good.
Well done far and good luck :)
eva sokolovsky
8,111 PointsThanks a lot!!! :-)
Jonathan Grieve
Treehouse Moderator 91,253 PointsJonathan Grieve
Treehouse Moderator 91,253 PointsHi Eva,
In order to give you an absolute answer or reason for what is causing the problem we're going to need a link to the code challenge and the error message you're seeing.
However the code I'm seeing looks technically correct so I'm going to hazard a guess at this stage that you're aliasing the wrong name for the concatenated SELECT field.