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 Reporting with SQL Working with Text Concatenating Text

I don't understand how we are supposed to know what the correct email formatting is. Are we supposed to add the < signs?

I've tried so many combinations but none of them work e.g. SELECT first_name || " " || last_name || " " || email AS "to_feild" FROM patrons; SELECT first_name || " " || last_name || " <" || email || ">" AS "to_feild" FROM patrons; SELECT first_name || last_name || email AS "to_feild" FROM patrons; SELECT first_name || " " || last_name || " <" || email || ">."AS "to_feild" FROM patrons;

I tried more than that but you get the idea.

1 Answer

Steven Parker
Steven Parker
231,268 Points

You're right about needing the angle symbols. And your 2nd try would have passed except for spelling the alias as "to_feild" instead of "to_field".

Fix that and you've got it.

bruh I'm too smart, Thanks.