Pergunta de entrevista da empresa 23andMe

Multiple questions on sql joins and cursors.