Existence of weak solutions of stochastic differential equations with standard and fractional Brownian motion, discontinuous coefficients, and a partly degenerate diffusion operator