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

Result form Task 1

My query: SELECT first_name || ' ', last_name || ' ', email as "to_field" FROM patrons

The webpage says: Your query didn't retrieve the emails in the correct format.

2 Answers

Steven Parker
Steven Parker
229,759 Points

You're close! But when you look at the sample output (Andrew Chalkley <andrew@teamtreehouse.com>), you can see that they want you to enclose the email address in angle brackets (<>).

Steven Parker
Steven Parker
229,759 Points

Juan Moyar — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!

Thank you Steven! I just finish the task and the second one was funny too. The key was to remove commas and follow your advice. Regards.