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

SELECT * from books order by first_published DESC;

This is the query used to list all the columns to see the most recently published books. It give me error! can anyone point out whats wrong with my code?

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

Could you post the code you are trying, please.

Or better, link directly from the challenge using the "Get Help" button and make sure the "Attach my code to this post." is checked. This will link directly to the challenge / quiz and will include and format your code, which makes it easier for us to help troubleshoot.

:dizzy:

1 Answer

Andrew Winkler
Andrew Winkler
37,739 Points

I think you need to reread the question. Your code appears to have correct SQL syntax and it should not generate an error code by itself. Therefore, you likely are overlooking a portion of the question and/or not supplying what the question is looking for.

Either way, we can't check this for you because you didn't notate which challenge you're working on nor what the question is. Please post the question as a reply and forum partakers can help out.