Hackerrank Sql Certification Intermediate Solution