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

Nelson Pamplona
Nelson Pamplona
1,575 Points

I am not sure if I am supposed to include anything but first name, last name and email for this challenge.

My code isn't correct, but I am not sure what I did wrong.. Also not sure if I am supposed to use the brackets.

Can you post your SQL? And yes you are supposed to concatenate the brackets.

3 Answers

You brackets are fine. You don't need the period after the closing bracket though. Remove that and you'll pass.

Nelson Pamplona
Nelson Pamplona
1,575 Points

My guess is my brackets are off, just not sure how. Here is my SQL:

SELECT first_name || " " || last_name || " <" || email || ">."AS "to_field" FROM patrons;