The colon indicates you had more to say...
To add to SkipVought:
Adding a GROUP BY BookName, RentalDate would make Count(*) count records with same BookName and RentalDate.
If you have a RentalDateTime field and store date and time you'd very seldom get a rental in the same split second, so you'd select and group by BookName, CAST(RentalDateTime as Date).
Bye, Olaf.