For two triangles to be similar by the SAS (Side-Angle-Side) criterion:
The corresponding sides must be proportional.
The included angles must be equal.
Here, the included angles are $\angle B$ in $\triangle ABC$ and $\angle Q$ in $\triangle PQR$. Thus:
\[\angle B = \angle Q\]