You can use normal approximation, $\mathcal{B}(n, p)$ can be approximated with $\mathcal{N}(np, np(1-p))$. So you can use normal CDF to approximate binomial CDF.
Binomial probability mass function is ${n \choose k} p^k (1-p)^{n-k}$. You can easily compute the latter part, the problem is the binomial coefficient. Recall that ${ n\choose k} = \frac{ n! }{ k! (n - k)! }$, so you can use Stirling's approximation of the factorials to approximate it. That said, you probably want to go with normal approximation rather than bothering with this in SQL.
Moreover, if I remember correctly, you can define custom functions for Presto as plugins, this sounds much better than doing it in SQL.