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

Databases

Paul Sirota
Paul Sirota
1,514 Points

reporting in SQL: How do I add chracter before column?

If I am not wrong all I missing is a character "<" before the email. How do I add this chracter?

andi mitre
andi mitre
Treehouse Guest Teacher

Hi Paul, can you please add what you have attempted or link to the challenge you are trying to complete?

3 Answers

andi mitre
STAFF
andi mitre
Treehouse Guest Teacher

In the SQL playground use pipes to concatenate the columns together and add a space before the first angle bracket.

Hope this helps, cheers

select  (first_name || ' ' || last_name || ' <' || email || '>' ) as 'to_field' from patrons 
Paul Sirota
Paul Sirota
1,514 Points

It does pass me but it doesn't show me the email, why?