Let
$\beta \in K \setminus F; \tag 1$
then, since $[K:F] = 2$, there must exist a linear dependence over $F$ 'twixt
$1$, $\beta$, and $\beta^2$; that is, there are $a, b, c \in F$, not all zero, such that
$a \beta^2 + b\beta + c = 0; \tag 2$
if now $a = 0$,
$b\beta + c = 0; \tag 3$
then $b = 0$ forces $c = 0$, so $a = b = c = 0$, contrary to our assumption;
if $b \ne 0$, then (3) implies $\beta \in F$, another contradiction; thus we may rule out the case $a = 0$.
With $a \ne 0$, (2) yields
$\beta^2 + d \beta + e = 0, \tag 4$
where $d = a^{-1}b$ and $e = a^{-1}c$; then we may write
$\beta^2 + d \beta = -e, \tag 5$
whence, with $\text{char}(F) \ne 2$,
$(\beta + \dfrac{d}{2})^2 = \beta^2 + d \beta+ \dfrac{d^2}{4} = \dfrac{d^2}{4} - e \in F; \tag 6$
we note that $4 = 2^2 \ne 0$ in $F$; otherwise $2^2 = 0 \Longrightarrow 2 = 0$, and $\text{char}(F) = 2$; now setting
$\alpha = \beta + \dfrac{d}{2}, \tag 7$
we see from (6) that $\alpha^2 \in F$; also,
$\alpha \in K \setminus F, \tag 8$
thus $[F(\alpha):F] = 2$, so
$K = F(\alpha), \tag 9$
and we have produced the requisite $\alpha$.
If $F = \Bbb Q$, then
$\alpha^2 = \dfrac{p}{q} \tag{10}$
with $p, q \in \Bbb Z$; note $q \ne 0$; then
$q \alpha^2 = p, \tag{11}$
so
$(q \alpha)^2 = q^2 \alpha^2 = pq \in \Bbb Z; \tag{12}$
finally,
$K = F(\alpha) = F(q\alpha). \tag{13}$