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

Jessica Diaz
Jessica Diaz
618 Points

Why is my answer incorrect for: "What are all the products in the products table? "

I am doing an exercise in SQL Basics. The question is "What are all the products in the products table?" I answered SELECT * FROM <products>;

Apparently, my answer is incorrect. Please help. Thanks

2 Answers

You shouldn't use the <> for the table name.

SELECT * FROM <products>;     <---- INCORRECT SQL
SELECT * FROM products;       <---- VALID SQL

I hope this helps. ~Alex

Jessica Diaz
Jessica Diaz
618 Points

Yes. This helps. Thanks

No problem :)