Calculate: -6 < x <=-2

Expression: $-6 < x \leq -2$

Write the inequality in interval notation as the interval of all real numbers between $-6$ and $-2$, where the left endpoint $-6$ is not included in the interval and the right endpoint $-2$ is included in the interval

$\begin{align*}&x \in \left\langle-6, -2\right]\end{align*}$