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

Pratika Madhur
Pratika Madhur
149 Points

whats wrong with this?

SELECT * FROM <products>;

not sure why this is wrong?

1 Answer

victor cooper
victor cooper
6,436 Points

In a query when you want to select from a table SELECT * FROM users;

Don't envelope the table name in <>, you can just write the name without anything, or use the `` symbol. Most developers just write the name without anything, simpler and less code.

Pratika Madhur
Pratika Madhur
149 Points

Thanks Victor! I realized my mistake shortly after posting this