Bluevine Interview Question

2 easy + 2 intermediate SQL question