For any countable $C \subset \Bbb R$ there is a function $f: \Bbb R \to \Bbb R$ such that $\lim_{x\to a^-}f(x)$ exists for all $a \in \Bbb R$, and $\lim_{x\to a^+}f(x)$ exists if and only if $a \notin C$. In particular such a function exists for $C = \Bbb Q$, which is dense in $\Bbb R$.
One can mimick the proofs of Function with limits only at irrational points and Construct a monotone function which has countably many discontinuities .
Define $f: \Bbb R \to \Bbb R$ as
$$
f(x) = \sum_n 2^{-n} h(x-r_n)
$$
where $(r_n)$ is an enumeration of $C$ and $h: \Bbb R \to \Bbb R$ is
$$
h(x) = \begin{cases}
0 & \text{ for } \le 0 \, ,\\
\sin(1/x) & \text{ for } x > 0 \, .
\end{cases}
$$
$h$ is continuous everywhere except at $x=0$, where the left limit exists, but not the right limit.
If $a \notin \Bbb C$ then $f$ is continuous at $a$ because each term in the sum is continuous at $a$ and the series is uniformly convergent.
If $a = r_m \in \Bbb C$ then
$$
f(x) = 2^{-m} h(x-r_m) + \sum_{n \ne m} 2^{-n} h(x-r_n)
$$
where the sum on the right is continuous at $a$, so that $f$ has a left limit but no right limit at $a$.