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

What I'm doing wrong ?

This is my code SELECT first_name || " " || last_name || " " || "<" || email || ">" || "." AS "to field" FROM patrons;

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 91,253 Points

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

2 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hi 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 :)

Thanks a lot!!! :-)