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 trialchris Gougherty
1,683 PointsNot 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
Treehouse ModeratorHey 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!