Let $S$ be a commutative ring with $1$ and let $R$ be any subring of $S.$ Let $p$ be a minimal prime of $R.$ Then how can I show that there is a prime ideal $q$ of $S$ whose contraction is $p,$ i.e., $q \cap R = p.$
What I am trying to show is the necessary and sufficient condition that $p=p^{ec}.$ Clearly $p \subset p^{ec}.$ But the other way I couldn't complete. I need some help.