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 trial
doesnt make sense
Here you are concatenating first_name and last_name and email with some formatting. The alias for this column will be 'to_field'. For the formatting there is a space between first and last name. Email is surrounded by <>. Use the concatenation operator || to create this field.
To create a space
SELECT C1 || ' ' || C2 FROM table
To format email
SELECT ' <' || email || '>' FROM table
To alias as 'to_field'
SELECT C1 || C2 || C3 AS 'to_field' FROM table