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 trialRobbie Thomas
31,093 PointsConcatenating Text 1 of 2
SELECT patrons, first_name || " " || last_name AS "Full name", email AS "To";
Wrong answer, help...
3 Answers
Jennifer Nordell
Treehouse TeacherOk here we go! The challenge wants the first name, last name, email to all be in the to_field. So your alias to "To" is incorrect. Furthermore, you Select, but you never say from which table. It has no idea where it's supposed to start looking. Third, it wants you to concatenate angle brackets around the email address. Take a look at my SQL statement:
SELECT first_name || " " || last_name || " " || "<" || email || ">" AS to_field FROM patrons;
Robbie Thomas
31,093 PointsLooks like I'm way off, I think I better take beginner courses in SQL before I tackle more advanced stuff like this.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherCould you please link the challenge? :)