Hackerrank Sql Intermediate Questions