What is actually weight?
The weight usually means the gravitational pull exerted by a massive body (like a planet) on an object. But you might find different definitions for the weight! More important than formal definition of weight is to understand principle of forces and how to apply Newton's laws motion.
In your example, there are two forces acting on the book: (i) gravitational force exerted by the Earth ($\vec{w}$), which pulls the book towards the center of the Earth, and (ii) normal force exerted by the table ($\vec{n}$), which acts in the direction perpendicular to the contact surface.
Since the book is at rest (i.e. in equilibrium), the first Newton's law of motion applies, which states that the vector sum of all forces acting on the body equals zero
$$\vec{w} + \vec{n} = 0 \qquad \rightarrow \qquad \boxed{\vec{n} = -\vec{w}}$$
It must be noted that the normal force does not always equal weight! A ramp (inclined plane) is one example in which normal force does not equal weight.
The reaction forces act on different objects and should not be considered when analyzing the book. According to the third Newton's law of motion, each force has its reaction pair, which in your example are: (i) gravitational force exerted by the book ($\vec{w}^\star$) on the Earth, which pulls the Earth towards the center of book, and (ii) normal force exerted by the book ($\vec{n}^\star$) on the table, which acts in the direction perpendicular to the contact surface. Since action-reaction pairs are equal in magnitude and opposite in direction, it follows
$$\vec{w} = -\vec{w}^\star \qquad \text{and} \qquad \vec{n} = -\vec{n}^\star$$