23andMe Interview Question

Multiple questions on sql joins and cursors.