For a book lying on a table, the downward weight gets balanced by
normal reaction from the table to the book
For a book lying on a table top which is also known as an example of a static equilibrium, the weight of a book gets balanced by the normal reaction force from the table to the book. Both the forces are equal in magnitude but opposite in direction resulting in static equilibrium.