Find all polynomials $ P\in\mathbb{R}[x]$ such that for all $ r\in\mathbb{Q}$,there exist
$ d\in\mathbb{Q}$ such that $ P(d)\equal{}r$
To find all polynomials \( P \in \mathbb{R}[x] \) such that for all \( r \in \mathbb{Q} \), there exists \( d \in \mathbb{Q} \) such that \( P(d) = r \), we proceed as follows:

1. **Assume the form of \( P(x) \)**:
   Suppose \( P \) is a polynomial of degree \( n \), i.e., 
   \[
   P(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0
   \]
   where \( a_i \in \mathbb{R} \) for all \( i \).

2. **Rational coefficients**:
   Since \( P(d) = r \) for all \( r \in \mathbb{Q} \) and some \( d \in \mathbb{Q} \), the coefficients \( a_i \) must be rational. If any \( a_i \) were irrational, then \( P(d) \) would not necessarily be rational for rational \( d \).

3. **Transformation invariance**:
   Notice that if \( P(x) \) satisfies the condition, then so does \( P(ax) + b \) for any \( a, b \in \mathbb{Q} \) with \( a \neq 0 \). This is because if \( P(d) = r \), then \( P(ax) + b = r \) for some \( d \in \mathbb{Q} \).

4. **Simplification**:
   Without loss of generality, assume \( a_n \) is an integer and \( a_0 = 0 \). This simplifies the polynomial to:
   \[
   P(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x
   \]

5. **Prime consideration**:
   Let \( q \) be a prime number such that \( \gcd(q, a_n) = 1 \). To solve \( P(x) = q \), we need \( x = \frac{y}{z} \) where \( y = 1 \) or \( y = q \) and \( z \mid a_n \). Since \( z \) can be negative, we can always find a \( z \) such that \( z \mid a_n \) and \( P\left(\frac{q}{z}\right) = q \) holds for infinitely many \( q \).

6. **Infinitely many roots**:
   The equation \( P(x) - zx = 0 \) must have infinitely many roots, implying that \( P(x) = zx \) for some rational \( z \).

7. **General form**:
   By inverting the transformation \( P(ax) + b \), we conclude that \( P(x) = ax + b \) where \( a, b \in \mathbb{Q} \) and \( a \neq 0 \).

The final answer is \( \boxed{ P(x) = ax + b } \) where \( a, b \in \mathbb{Q} \) and \( a \neq 0 \).