Preston Ventures interview question

Basic SQL queries as well as python problems to solve