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 trialJason Nutt
Front End Web Development Techdegree Graduate 24,760 PointsI really did not want to ask for help on this one as I think I understand the concept...here is the code I tried.
SELECT first_name || " " || last_name || " " || "<" "email" ">" AS "to_field" FROM patrons;
2 Answers
Jennifer Nordell
Treehouse TeacherHi there, Jason Nutt! You're incredibly close. There is something slightly off with your concatenation around the email
portion, though. First, we don't want the string "email"
, we want the value stored in the email field so instead of "email"
, I'm expecting just email
. Secondly, you'll still need the concatenation operators between the angle brackets and the email field.
You have:
SELECT first_name || " " || last_name || " " || "<" "email" ">" AS "to_field" FROM patrons;
But I'm expecting:
SELECT first_name || " " || last_name || " " || "<" || email || ">" AS "to_field" FROM patrons;
Hope this helps!
Jason Nutt
Front End Web Development Techdegree Graduate 24,760 PointsIt helps a ton. Thanks so much. I'm sure I will talk to you soon. Although the objective would be to avoid that by figuring out the solution myself. You are much appreciated Jennifer!