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

PHP

help pls

Challenge Task 1 of 2

Note: We will be writing ONLY the SQL query for this challenge. Write the SQL query to select 'name' and the 'price' from the 'products' table. Type in your command below, then press Enter. Bummer! You didn't select the name and price from the products table!

3 Answers

Peter Hatzer
Peter Hatzer
20,837 Points

SELECT name, price FROM products

thanks peter.

Ryan Field
PLUS
Ryan Field
Courses Plus Student 21,242 Points

Hi Shawn,

It'd be really helpful to us if you could give us more details, such as the code you tried and what your specific question is. We can provide you with the answer to this question easily, but you'll get the most from the forum by trying to explain what you tried and why.

Ruan Davis
Ruan Davis
7,344 Points

Just write the SQL query. SELECT ??? FROM ??? that should do it. remove any quotation marks brackets.