Let $A,B$ be two $R-$algebra. (i.e. we have two homomorphisms: $f:R\rightarrow A$ and $g:R\rightarrow B$) We denote two canonical homomorphism $A\rightarrow A\otimes_R B$ and $B\rightarrow A\otimes_R B$ by $u,v$ respectively.
Suppose $p\in \operatorname{Spec}A$, $q\in \operatorname{Spec}B$ and $f^{-1}(p)=g^{-1}(q)$. How to find a $t\in \operatorname{Spec}(A\otimes_R B) $ such that $u^{-1}(t)=p$ and $v^{-1}(t)=q$.
For the field case (where $A,B,R$ are fields, and $p,q = 0$.), you can then just pick any maximal ideal of the tensor product - they must pullback to a prime ideal of $A$ and $B$, which then must be the zero ideal.
– Pig Jun 08 '21 at 07:38