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

Cnnot write the correct query to find the COUNT

When i am writing my query as

SELECT COUNT(*) AS "jk_book_count" FROM books WHERE author = "J.K.Rowling";

this particular query is not returning the correct set of results.

thanx in advance.

2 Answers

Steven Parker
Steven Parker
241,970 Points

Just a wild guess...

But should there be a space between J.K. and Rowling ("J.K. Rowling") ?

If that's not it, please provide a link to the challenge for a more accurate answer.

i second Steven here. i think you might be misspelling the author there, however that should bring no results at all