$ \def \Q {\mathbb Q} \def \x {\boldsymbol x} \def \y {\boldsymbol y} \def \a {\boldsymbol a} \def \b {\boldsymbol b} $This question is inspired by the post "Is there any theorem like implicit function theorem in $ \Q $?" and the discussion thereafter.
Let $ p ( \x , \y ) \in \Q [ \x , \y ] $, where $ \x $ and $ \y $ are finite sequences of indeterminates of lengths $ r $ and $ s $, repectively. Assume that for every $ \a \in \Q ^ r $ there exists $ \b \in \Q ^ s $ such that $ p ( \a , \b ) = 0 $. Can we conclude that there exists $ q ( \x ) \in \Q [ \x ] ^ s $ such that $ p \bigl ( \x , q ( \x ) \bigr ) = 0 $? (EDIT: as noted by Mueller, the requirement should be changed to $ q ( \x ) \in \Q ( \x ) ^ s $; i.e., $ q ( \x ) $ should be required to be a sequence of rational expressions rather than polynomials.)
The question is answered positively by Laurent Berger's post for the case $ r = s = 1 $, as follows:
Write $ p ( x , y ) $ as a product of irreducible polynomials $ p _ i ( x , y ) $. Hilbert's irreducibility theorem implies that there are infinitely many $ a $'s such that $ p _ i ( a , y ) $ is irreducible for every $ i $. If one of them has a solution, it is therefore of degree $ 1 $ in $ y $. Some $ p _ i $ is therefore of degree $ 1 $ in $ y $, which shows that there is some polynomial $ q $ such that $ p \bigl ( x , q ( x ) \bigr ) = 0 $.
Now, since Hilbert's irreducibility theorem also holds for the multivariate case, I wondered whether the statement holds for the more general case. But even if it does, the above argument needs some modifications, since for example the Hilbert set being infinite is not sufficient for concluding that $ p _ i $ is of degree $ 1 $ in the case of more than a single indeterminate. For example, I don't find the argument convincing when $ r = 2 $ and $ p ( x _ 1 , x _ 2 , y ) = ( x _ 1 - x _ 2 ) y ^ 3 + y $. In this example, while there are infinitely many specifications for $ ( x _ 1 , x _ 2 ) $ that make the irreducible factors of $ p $ irreducible in $ \Q [ y ] $ (namely those of the form $ ( a , a ) \in \Q ^ 2 $), one of them is of degree $ 2 $ in $ y $.
I've asked this question as a follow-up comment under the mentioned post, but haven't got any answers after eight months. Since that post is about twelve years old, I think it's unlikely that I get any response to that comment now. So I decided to post a separate question in that regard.