Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Databases Reporting with SQL Working with Text Concatenating Text

chris Gougherty
chris Gougherty
1,682 Points

Not understanding what the issue is with my code

I dont understand what my error is asfter going over it a few times.

This is my code below. Would someone be able to help me understand what i am doing wrong? Select first_name || " " || last_name || " " || email AS "To" From patrons;

1 Answer

Mel Rumsey
.a{fill-rule:evenodd;}techdegree seal-36
Mel Rumsey
Treehouse Staff

Hey chris Gougherty You are pretty close. So, there are a couple of things that need to be added here in order for it to have this output: Andrew Chalkley <andrew@teamtreehouse.com> So your code Select first_name || " " || last_name || " " || email AS "To" From patrons; After the last name, in addition to a space, we are expecting a < around the email. After the email, we need a closing bracket ">". The challenge then asks you to alias it as to_field rather than "To"

Hope this helps!