How can I show the sets are open? (The set of rational numbers $\mathbb{Q}$ is not a connected topological space)

Because a subset $A$ of $\mathbb Q$ is an open subset of $\mathbb Q$ if and only if there is an open subset $A^\ast$ of $\mathbb R$ such that $A=A^\ast\cap\mathbb Q$.