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 is wrong?

SELECT name AS "Product Name", description AS "Product Description" FROM products;

Still is wrong. What Am I doing wrong?

1 Answer

Steven Parker
Steven Parker
231,261 Points

I assume you're on this challenge:

Challenge Task 1 of 4

We're back in our e-commerce database. There's a products table with the columns id, name, description and price.
Can you retrieve both the name and description aliased as "Product Name" and "Product Description".

:white_check_mark: Your answer is correct. I pasted your code in to answer the challenge and it passed.

Is it possible you had a typo, but you re-typed it correctly for the forum?

:point_right: Try cutting your line above and pasting it into the challenge like I did.

If you're working on some other challenge, please provide a link to it.