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

Development Tools

Database Foundations, SQL calculating, aggregating and other functions. Stage 7 (challenge task 2 of 3)

I'm having a bit of trouble with this one and would appreciate it if someone could help me out.

I have entered:

SELECT CONCAT(first_name, " ", (username)) AS display_name FROM users;

Reaction: Bummer! There's something wrong with your query.

display_name

Andrew chalkers

Ben Bendog24

Pasan Pa$anTheBusinessman

Thanks.

can you post a link to the challenge

2 Answers

your output looks like:

Andrew chalkers

however it needs to be:

Andrew (chalkers)

you need to concatenate the parenthesis as well:

SELECT CONCAT(first_name, " ", "(", username, ")") AS display_name FROM users;

Thank you Stone! Your a saint