Pergunta de entrevista da empresa Flatiron Health

Fairly straightforward SQL query.