hello i was asked to solve the real value of x for which $\displaystyle \frac{x+1}{x-2}< 0$

i got$\displaystyle x< 2$ and $\displaystyle x < -1$ but the answer in the book is $\displaystyle -1<x<2$ can some one please show me how this answer is arrived at..