I don't know how to add all count(*) results. I mean, if i have red publisher, who has got 2 books, and blue publisher with 6 books. I have to get how many books have each one and how many books are in total. The first part I've done. How to do the second one? My code:
SELECT Publisher, count(*) AS ct
FROM Stud.Book
Group by Publisher;