This answer cites a result which states the following
Theorem. Let $X$ be a topological space which is
- countable,
- metrizable,
- has no isolated points.
Then $X$ is homeomorphic to $\Bbb Q$ with the usual order topology.
But how is this even possible? I made no effort to understand the proof $-$ yet. Mostly because until now it seems more "obvious" that this is false. How about the following "counterexamples":
Example 1. $\Bbb Q$ and $\Bbb Q^2$ are both countable, metrizable, have no isolated points and are connected. But removing a single point diconnects $\Bbb Q$ but not $\Bbb Q^2$.
Example 2. What about $X=\Bbb Q^2\cap S^1$? It seems we can cover $X$ with connected open sets $U_i,i\in\Bbb Z_4$ so that $U_i\cap U_j=\varnothing$ if and only of $i-j=2$. Seems not possible for $\Bbb Q$.
$\qquad\qquad\qquad\qquad\qquad\qquad\qquad$
All my counterexamples use the term "connected". Are there some subtleties with this term which I am overlooking?
As a complement to Noah's answer: the error is the assumption that $\mathbb{Q}$ is connected, but why isn't it? Intuition might suggest that $\mathbb{Q}$ is connected because there aren't any large gaps in the space; for any rational, there are rationals to the left and to the right that are arbitrarily close by. This is not true of $\mathbb{Q}\backslash(0,1)$, for instance, which looks more obviously disconnected.
If we're inclined to think something like this, then we need to correct our intuition for connectedness! It is known that removing a single point from $\mathbb{R}$ results in a disconnected space, and this suggests that even 'tiny' gaps in a space can disconnect it. But there are plenty of tiny gaps in $\mathbb{Q}$ – in particular, it is missing all of the irrational numbers.
This suggests that the rationals are not just disconnected, but also in some sense 'very disconnected'; the irrational numbers – the gaps in our space – permeate the entire number line. Let's make this formal:
Theorem: the rational numbers are totally disconnected, in that every subset is either disconnected or contains at most one element.
Proof: suppose our subset $S$ contains elements $a,b$ with $a < b$. Between any two rational numbers there exists an irrational number $x$. Let us construct the following subsets of $\mathbb{R}$:
$$ A = (-\infty, x) \quad B = (x, \infty) \,.$$
Then in the subspace topology on $S$, $S \cap A$ and $S \cap B$ are disjoint open sets that cover $S$. So $S$ is disconnected.