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

What am I doing wrong?

This looks correct. I don't see the problem.

Bummer! Expected results to look like "Andrew CHALKLEY", "MCL1001" not "Andrew CHALKLEY", "MCL1001".

Steven Parker
Steven Parker
231,248 Points

If you showed us your code, someone might be able to spot the problem.

Providing a link to the challenge would also be helpful.

2 Answers

Steven Parker
Steven Parker
231,248 Points

If you're working on the challenge I'm thinking of, the query should look something like this:

SELECT first_name || ' ' || UPPER(last_name) AS full_name, library_id FROM patrons;

Since you seem to have the right information, I'd also guess the problem has something to do with the column alias.

Oh, I guess I thought the code was saved automatically as part of the question. I reloaded and tried again and it passed. I don't know what the issue was. Thanks everyone for trying!