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!
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
Write a SQL query to answer the following question. What are all the products in the products table? y
Write a SQL query to answer the following question. What are all the products in the products table? Entered everything
Marcelino Jasso12,252 Points
I rewatched the video and the answer is SELECT * FROM products;
Hope that helps.
I found this task confusing because the video makes it look like you include the <> around your table name.
SELECT * FROM tablename; is the accurate format : )
Fahad Mutair10,359 Points
to see whats inside table you have to write this query
SELECT <ColumnName> From <TableName>;
just replace <ColumnName> with the column you want to see
and replace <TableName> with your table in your case products