Neal Analytics Interview Question

1 SQL query and 2 programming questions