So you mean something like this`?
select book_id,
avg(rating) avg_rating,
count(*) rated_time,
avg(rating) * count(*) score
from book_rating
group by book_id
order by 4 desc;
Gives a result like this
+---------+------------+------------+----------+
| book_id | avg_rating | rated_time | score |
+---------+------------+------------+----------+
| 98 | 6.2222 | 18 | 112.0000 |
| 9 | 6.7500 | 16 | 108.0000 |
| 81 | 5.8333 | 18 | 105.0000 |
| 43 | 7.0769 | 13 | 92.0000 |
| 8 | 6.0000 | 15 | 90.0000 |
| 36 | 6.2857 | 14 | 88.0000 |
| 55 | 6.1429 | 14 | 86.0000 |
| 3 | 5.2500 | 16 | 84.0000 |
| 92 | 5.1250 | 16 | 82.0000 |
| 59 | 5.5714 | 14 | 78.0000 |
| 49 | 7.0000 | 11 | 77.0000 |
| 80 | 5.0667 | 15 | 76.0000 |
| 6 | 6.9091 | 11 | 76.0000 |
| 71 | 5.4286 | 14 | 76.0000