Citizen Health interview question

Pandas & SQL question about querying patient data.