I have read the next beautiful result about Galois group of polynomials.
Theorem: Let $f$ be an irreducible polynomial of prime degree $p\geqslant 5$ in $\mathbb{Q}[x]$. If $f$ has exactly two nonreal roots, then the Galois group $G_{f}=S_{p}$.
I want to know whether this theorem gives a necessary and sufficient condition? Can we replace the condition in it with some others to get the same result?
Of course no. For example
$\textbf{Proposition}.$ There exists a polynomial $R\in \mathbb{Q}[x]$ of degree $p$, with only one real root, satisfying $gal(R)=S_p$.
$\textbf{Proof}$. We use the fact that the polynomials $Q$ with $gal(Q)=S_p$ are dense in $\mathbb{Q}[x]$.
Consider a monic polynomial $T=x^p+\sum_{i<p} a_ix^i$ with only one real root; randomly choose $(b_i)$ in a neighborhood of the $(a_i)$. Then, with probability $1$, $T_1=x^p+\sum_{i<p} b_ix^i$ has $S_p$ as Galois group. Moreover, $T_1$ has only one real root (by the continuity of the roots of a polynomial wrt. its coefficients, the non-real roots remain non-real).
Example. Let $T=x(x^2+1)^2=x^5+2x^3+x$ and
$T_1=x^5+(2022376873266539/1000000000000000)x^3+(1040578712917309/1000000000000000)x+1141656374703/100000000000000+(97561097757381/1000000000000000)x^2+(77370700889713/1000000000000000)x^4\approx$
$x^5+2.022376873x^3+1.040578713x+0.01141656375+0.09756109776x^2+0.07737070089x^4$.