Sql Intermediate Hackerrank Questions