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

Databases

Im not sure why my query's not working... SELECT COUNT(*) AS jk_book_count FROM books WHERE author = "J.K Rowling";

Can someone tell me why this query's not working? Im pretty sure I did everything right.

I recieve the following error... Bummer! Your query didn't perform the correct count.

Damien Watson
Damien Watson
27,419 Points

Hey, your SQL is valid, SQL is case sensitive, maybe check that your table and field names have the correct Case.

Though this would show a different error message.

1 Answer

Steven Parker
Steven Parker
225,728 Points

You just have a typo. You left off the period after the "K" in "J.K. Rowling".

Ahh thanks Steven! You rock!