Pregunta de entrevista de Robinhood

Incredibly easy probability questions, more difficult SQL