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 trialRicardo Franco
Data Analysis Techdegree Student 16,258 PointsConcatenation Operator
I had a code challenge that directed me to create a list of strings in the following format: Example...Andrew Chalkley Andrew@teamtreehouse.com. The line of code below is what I typed out to get that format. After doing the code, it displayed as instructed but the code challenge is not registering it as a valid answer. Please assist. Thank you.
SELECT first_name || " " || last_name || " <" || email || ">." AS "To" FROM patrons;
1 Answer
Steven Parker
231,236 PointsI seem to recall that the alias was supposed to be something like "to_field". The quoted word "To" appeared in a sentence about marketing that could be disregarded entirely.
Also, I'm not sure if there should be a period at the end of the concatenated string.
To facilitate an accurate analysis and more specific answers, always include a link to the course page.